Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
08/12/08 20:15:47 (5 months ago)
Author:
bwolfe
Message:

1.3.x branch: Upgrading to 1.3.1
Backporting fix to allow changing date on encounters - #934

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/1.3.x/metadata/model/update-to-latest-db.mysqldiff.sql

    r5153 r5260  
    11251125call diff_procedure('1.3.0.14'); 
    11261126 
    1127 DROP PROCEDURE IF EXISTS insert_authenticated_privilege; 
    1128  
    11291127#---------------------------------------- 
    11301128# OpenMRS Datamodel version 1.3.0.15 
     
    11411139    SELECT CONCAT('Updating to ', new_db_version) AS 'Datamodel Update:' FROM dual; 
    11421140         
    1143         # Fix the incorrect privilege name from the privious update 
    1144         update role_privilege set privilege = 'View Relationship Types' where privilege = 'View RelationshipTypes'; 
    1145          
     1141        set FOREIGN_KEY_CHECKS = 0; 
     1142 
     1143        # Fix the incorrect privilege name from the previous update 
     1144        delete from role_privilege where privilege = 'View RelationshipTypes'; 
     1145        call insert_authenticated_privilege('View Relationship Types'); 
     1146         
     1147        set FOREIGN_KEY_CHECKS = 1; 
     1148 
    11461149    UPDATE `global_property` SET property_value=new_db_version WHERE property = 'database_version'; 
    11471150