From 154ceb785d53e26c1dd47ea181c30f12ea47cee7 Mon Sep 17 00:00:00 2001 From: Manuel Rego Casasnovas Date: Wed, 25 Apr 2012 08:52:49 +0200 Subject: [PATCH] Fix problems with Liquibase 2.0.4 and MySQL for tag modifyDataType modifyDataType was converting the column in LONGTEXT instead of TEXT and this was causing problems with Hibernate mapping. FEA: ItEr76S03Community --- .../src/main/resources/db.changelog-1.2.xml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/libreplan-business/src/main/resources/db.changelog-1.2.xml b/libreplan-business/src/main/resources/db.changelog-1.2.xml index 727dcc43c..52b58fdc1 100644 --- a/libreplan-business/src/main/resources/db.changelog-1.2.xml +++ b/libreplan-business/src/main/resources/db.changelog-1.2.xml @@ -58,16 +58,30 @@ columnDataType="BOOLEAN" /> - + Change column description in order_element to TEXT - + Change column description in order_element_template to TEXT + + + Change column description in order_element and + order_element_template to TEXT in MySQL. + Because of using modifyDataType convert the column in LONGTEXT and + this is causing some problems with Hibernate mapping. + + ALTER TABLE order_element MODIFY description TEXT + ALTER TABLE order_element_template MODIFY description TEXT + + add budget column to order_line