/*
 * Alter the systemmetadata* table names for Oracle length restrictions
 */
ALTER TABLE systemMetadataReplicationPolicy RENAME TO smReplicationPolicy;
ALTER TABLE systemMetadataReplicationStatus RENAME TO smReplicationStatus;

/*
 * update the database version
 */
UPDATE db_version SET status=0;

INSERT INTO db_version (version, status, date_created) 
  VALUES ('2.0.5', 1, CURRENT_DATE);