File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/main/resources/db/changelog Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 10571057 <comment >Renaming the table prescribed_drugs to prescribed_drug</comment >
10581058 <renameTable newTableName =" prescribed_drug" oldTableName =" prescribed_drugs" />
10591059 </changeSet >
1060+ <changeSet id =" sharedhealth-datasense-20160802-1356" author =" Anjaly" context =" setup" >
1061+ <preConditions onFail =" MARK_RAN" >
1062+ <columnExists columnName =" prescribed_drugs_id" tableName =" prescribed_drug" />
1063+ </preConditions >
1064+ <comment >change prescribed_drug table, prescribed_drugs_id column to prescribed_drug_id</comment >
1065+ <sql >
1066+ ALTER TABLE prescribed_drug CHANGE prescribed_drugs_id prescribed_drug_id int auto_increment;
1067+ </sql >
1068+ </changeSet >
10601069
10611070</databaseChangeLog >
You can’t perform that action at this time.
0 commit comments