Changes between Version 18 and Version 19 of SopUpdateBbmriApp


Ignore:
Timestamp:
2013-05-29T12:15:54+02:00 (11 years ago)
Author:
Roan Kanninga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SopUpdateBbmriApp

    v18 v19  
    3535   * You are now at /srv/molgenis/ where your files where copied.
    3636
    37 === Backup  ===
     37=== Backup ===
    3838 1. '''BACKUP your DATABASE FIRST''':
    3939   * mysqldump bbmri -u molgenis –pmolgenis  > ~/databaseDumps/<date>bbmriDB.mysql
    4040   * Check the dumbed file if it is not just an error file …
    4141
    42 === Insert the data from live server to test server  ===
    43 ===  * mysql -u molgenis -pmolgenis bbmri < 29Maydump.mysql     
    44 
    45  ===
     42=== Insert the data from live server to test server ===
     43=== * mysql -u molgenis -pmolgenis bbmri < 29Maydump.mysql ===
     44  ===
     45
    4646 * Apply migration steps:
    4747   * mysql -u molgenis –pmolgenis
     
    9393  ALTER TABLE !`BiobankSubCategory` 
    9494  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)
    9696   
    9797  ALTER TABLE Biobank ADD FOREIGN KEY (!SubCategory) REFERENCES !BiobankSubCategory (id) ON DELETE RESTRICT;