Changes between Version 4 and Version 5 of DespoinaLog_molgenis35Tomolgenis14
- Timestamp:
- 2013-02-22T11:33:19+01:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DespoinaLog_molgenis35Tomolgenis14
v4 v5 1 1. Copy the new war file to tomcat's directory : 1 1. Copy the new war file to tomcat's directory : 2 2 1. data live in the old mysql database (molgenis14 ) so you need to run the steps of the migration script : https://www.dropbox.com/home/BBmri%20App/migration_issue?select=migration-script.rtf) in order to change only the scheme NOT the data 3 3 … … 28 28 ALTER TABLE Biobank DROP FOREIGN KEY biobank_ibfk_5; 29 29 30 ALTER TABLE BiobankSubCategory ADD FOREIGN KEY (id) REFERENCES OntologyTerm (id) ON DELETE CASCADE; 31 30 ALTER TABLE BiobankSubCategory ADD FOREIGN KEY (id) REFERENCES OntologyTerm (id) ON DELETE CASCADE; <----------IF THIS FAILS USE THE NEXT : 32 31 ALTER TABLE `BiobankSubCategory` 33 32 ADD CONSTRAINT `biobank_ibfk_5` 34 33 FOREIGN KEY (`id`) REFERENCES OntologyTerm (id) ON DELETE CASCADE; AUTO UPARXEI HDH APO THN DHMIOURGIA TOU) 35 34 36 ALTER TABLE Biobank ADD FOREIGN KEY (SubCategory) REFERENCES BiobankSubCategory (id) ON DELETE RESTRICT; 35 ALTER TABLE Biobank ADD FOREIGN KEY (SubCategory) REFERENCES BiobankSubCategory (id) ON DELETE RESTRICT; <----------IF THIS FAILS USE THE NEXT : 36 37 37 38 38 ALTER TABLE `Biobank`