Changes between Version 4 and Version 5 of DespoinaLog_molgenis35Tomolgenis14


Ignore:
Timestamp:
2013-02-22T11:33:19+01:00 (12 years ago)
Author:
antonak
Comment:

--

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 :
    22 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
    33
     
    2828ALTER TABLE Biobank DROP FOREIGN KEY biobank_ibfk_5;
    2929
    30 ALTER TABLE BiobankSubCategory ADD FOREIGN KEY (id) REFERENCES OntologyTerm (id) ON DELETE CASCADE;
    31 
     30ALTER TABLE BiobankSubCategory ADD FOREIGN KEY (id) REFERENCES OntologyTerm (id) ON DELETE CASCADE;   <----------IF THIS FAILS USE THE NEXT :
    3231ALTER TABLE `BiobankSubCategory` 
    3332ADD CONSTRAINT `biobank_ibfk_5`
    3433    FOREIGN KEY (`id`) REFERENCES OntologyTerm (id) ON DELETE CASCADE; AUTO UPARXEI HDH APO THN DHMIOURGIA TOU)
    3534
    36 ALTER TABLE Biobank ADD FOREIGN KEY (SubCategory) REFERENCES BiobankSubCategory (id) ON DELETE RESTRICT;
     35ALTER TABLE Biobank ADD FOREIGN KEY (SubCategory) REFERENCES BiobankSubCategory (id) ON DELETE RESTRICT; <----------IF THIS FAILS USE THE NEXT :
     36
    3737
    3838ALTER TABLE `Biobank`