From 1f85934e30595c2a170a80ed5c9664f541d8ce0b Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Mon, 12 Sep 2011 08:46:52 +0200 Subject: [PATCH] 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 --- .../src/main/resources/db.changelog-1.1.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/navalplanner-business/src/main/resources/db.changelog-1.1.xml b/navalplanner-business/src/main/resources/db.changelog-1.1.xml index 1e9d2e89d..8ef87767d 100644 --- a/navalplanner-business/src/main/resources/db.changelog-1.1.xml +++ b/navalplanner-business/src/main/resources/db.changelog-1.1.xml @@ -250,7 +250,8 @@ Changing work_report_line numHours to effort - + @@ -267,10 +268,12 @@ newTableName="sum_charged_effort" /> + newColumnName="direct_charged_effort" + columnDataType="INTEGER" /> + newColumnName="indirect_charged_effort" + columnDataType="INTEGER" /> @@ -289,7 +292,8 @@ Rename sum_charged_hours_id to sum_charged_effort_id in order_element + newColumnName="sum_charged_effort_id" + columnDataType="BIGINT" />