Fix Liquibase changes in MySQL
Execute the next SQL sentences in your database if you want to keep working with
your current database:
UPDATE DATABASECHANGELOG
SET MD5SUM='3:824cfe1ec43c490e63bf2d8316f1255e'
WHERE ID='change-numhours-to-effort-in-work-report-lines' AND
AUTHOR='idiazt' AND
FILENAME='src/main/resources/db.changelog-1.1.xml';
UPDATE DATABASECHANGELOG
SET MD5SUM='3:202833e32d386f5a3edf903b2d5a21b4'
WHERE ID='change-sum_charged_hours-to-sum_charged_effort' AND
AUTHOR='mrego' AND
FILENAME='src/main/resources/db.changelog-1.1.xml';
UPDATE DATABASECHANGELOG
SET MD5SUM='3:f8140dac93702c25f7fe75d9217ef9c5'
WHERE ID='rename-sum_charged_hours_id-to-sum_charged_effort_id' AND
AUTHOR='mrego' AND
FILENAME='src/main/resources/db.changelog-1.1.xml';
FEA: ItEr75S22WortReportsEffortDuration
This commit is contained in:
parent
2dc0274bfc
commit
1f85934e30
1 changed files with 8 additions and 4 deletions
|
|
@ -250,7 +250,8 @@
|
|||
|
||||
<changeSet id="change-numhours-to-effort-in-work-report-lines" author="idiazt">
|
||||
<comment>Changing work_report_line numHours to effort</comment>
|
||||
<renameColumn tableName="work_report_line" oldColumnName="num_hours" newColumnName="effort"/>
|
||||
<renameColumn tableName="work_report_line" oldColumnName="num_hours"
|
||||
newColumnName="effort" columnDataType="INTEGER" />
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="update-numhours-values-to-effort-values" author="idiazt">
|
||||
|
|
@ -267,10 +268,12 @@
|
|||
newTableName="sum_charged_effort" />
|
||||
<renameColumn tableName="sum_charged_effort"
|
||||
oldColumnName="direct_charged_hours"
|
||||
newColumnName="direct_charged_effort" />
|
||||
newColumnName="direct_charged_effort"
|
||||
columnDataType="INTEGER" />
|
||||
<renameColumn tableName="sum_charged_effort"
|
||||
oldColumnName="indirect_charged_hours"
|
||||
newColumnName="indirect_charged_effort" />
|
||||
newColumnName="indirect_charged_effort"
|
||||
columnDataType="INTEGER" />
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="update-effort-values-in-sum_charged_effort" author="mrego">
|
||||
|
|
@ -289,7 +292,8 @@
|
|||
<comment>Rename sum_charged_hours_id to sum_charged_effort_id in order_element</comment>
|
||||
<renameColumn tableName="order_element"
|
||||
oldColumnName="sum_charged_hours_id"
|
||||
newColumnName="sum_charged_effort_id" />
|
||||
newColumnName="sum_charged_effort_id"
|
||||
columnDataType="BIGINT" />
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue