Fixed LiquiBase changeset to work properly on MySQL.

Execute the next SQL sentence in your database if you have already applied last changeset:
UPDATE databasechangelog SET md5sum='3:0ba5792ffc0bff2a1ce571047b008796' WHERE id='rename start_constraint_type in task and task milestone';

FEA: ItEr65S06BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2010-12-15 16:54:39 +01:00
parent 3794fc60c6
commit 3f97bba952

View file

@ -34,8 +34,11 @@
<changeSet id="rename start_constraint_type in task and task milestone" author="ogonzalez">
<comment>Caused by renaming org.navalplanner.business.planner.entities.TaskPositionConstraint.startConstraintType</comment>
<renameColumn tableName="task" oldColumnName="start_constraint_type" newColumnName="constraint_type"/>
<renameColumn tableName="task_milestone" oldColumnName="start_constraint_type" newColumnName="constraint_type"/>
<renameColumn tableName="task" oldColumnName="start_constraint_type"
newColumnName="constraint_type" columnDataType="INTEGER" />
<renameColumn tableName="task_milestone"
oldColumnName="start_constraint_type"
newColumnName="constraint_type" columnDataType="INTEGER" />
</changeSet>
</databaseChangeLog>