Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
07/25/08 02:30:52 (6 months ago)
Author:
bwolfe
Message:

1.3.x branch: Updating schema files to latest diff version in preparation for release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/1.3.x/metadata/model/util/update-scripts-to-latest.sh

    r4947 r5036  
    4646#create database openmrs default charset utf8; 
    4747#use openmrs; 
     48echo Done. 
    4849 
    4950echo "" 
     51echo "" 
    5052echo WARNING!!! 
    51 echo Change the \"create database\" line to: \"create database openmrs default character set utf8;\" 
    52 echo You will also have to put these lines into the createdb-from-scratch after the \"create database...\" statement 
     53echo WARNING!!! 
     54echo WARNING!!! 
     55echo Change the \"create database\" line to: \"create database openmrs default character set utf8\;\" 
     56echo You will also have to put the following lines into the createdb-from-scratch after that \"create database...\" statement 
    5357echo DELETE FROM mysql.user WHERE User=\'test\'\; 
    54 echo CREATE USER test IDENTIFIED BY \'test\'\; 
     58echo flush privileges\; 
     59echo CREATE USER \'test\'@\'localhost\' IDENTIFIED BY \'test\'\; 
    5560echo GRANT ALL ON openmrs.* TO test\; 
    5661echo "" 
    57 echo Also change the \"schema only\" file to have : \"INSERT INTO global_property VALUES (\'database_version\',\'1.3.0.11\',NULL);\" with the latest version 
     62echo Also change the \"schema only\" file to have : \"INSERT INTO global_property VALUES \(\'database_version\',\'1.3.0.14\',NULL\)\;\" with the __latest_version__ 
    5863 
    5964echo ""