Changes between Version 18 and Version 19 of SopUpdateBbmriApp
- Timestamp:
- 2013-05-29T12:15:54+02:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SopUpdateBbmriApp
v18 v19 35 35 * You are now at /srv/molgenis/ where your files where copied. 36 36 37 === Backup 37 === Backup === 38 38 1. '''BACKUP your DATABASE FIRST''': 39 39 * mysqldump bbmri -u molgenis –pmolgenis > ~/databaseDumps/<date>bbmriDB.mysql 40 40 * Check the dumbed file if it is not just an error file … 41 41 42 === Insert the data from live server to test server 43 === * mysql -u molgenis -pmolgenis bbmri < 29Maydump.mysql44 45 === 42 === Insert the data from live server to test server === 43 === * mysql -u molgenis -pmolgenis bbmri < 29Maydump.mysql === 44 === 45 46 46 * Apply migration steps: 47 47 * mysql -u molgenis –pmolgenis … … 93 93 ALTER TABLE !`BiobankSubCategory` 94 94 ADD CONSTRAINT !`biobank_ibfk_5` 95 FOREIGN KEY (!`id`) REFERENCES !OntologyTerm (id) ON DELETE CASCADE; AUTO UPARXEI HDH APO THN DHMIOURGIA TOU)95 FOREIGN KEY (!`id`) REFERENCES !OntologyTerm (id) ON DELETE CASCADE; this exists already from his creation) 96 96 97 97 ALTER TABLE Biobank ADD FOREIGN KEY (!SubCategory) REFERENCES !BiobankSubCategory (id) ON DELETE RESTRICT;