Fixing problems with LiquiBase we were mixing "addDefaultValue" with "update".
Execute the next SQL sentence in your database if you want to keep working with your current database: UPDATE databasechangelog SET md5sum='3:009cd5341d49b5415bf7ec539de24c79' WHERE id='add-company-logo-url-configuration-setting' AND author='ltilve' AND filename='src/main/resources/db.changelog-initial.xml'; UPDATE databasechangelog SET md5sum='3:2b767fd34386bfe53579516ddaccbdcc' WHERE id='add scheduling mode' AND author='ogonzalez' AND filename='src/main/resources/db.changelog-initial.xml'; UPDATE databasechangelog SET md5sum='3:53d99bb420a0c55c8eaa9389e3fc0ed5' WHERE id='add-scenarios-enabled-configuration-setting' AND author='ltilve' AND filename='src/main/resources/db.changelog-initial.xml'; FEA: ItEr65S06BugFixing
This commit is contained in:
parent
68b799fda0
commit
5ad99d0bce
1 changed files with 10 additions and 7 deletions
|
|
@ -18,8 +18,9 @@
|
|||
<addColumn tableName="configuration">
|
||||
<column name="company_logo_url" type="varchar(255)" />
|
||||
</addColumn>
|
||||
<addDefaultValue tableName="configuration" columnName="company_logo_url"
|
||||
defaultValue="" />
|
||||
<update tableName="configuration">
|
||||
<column name="company_logo_url" value="" />
|
||||
</update>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="add scheduling mode" author="ogonzalez">
|
||||
|
|
@ -27,8 +28,9 @@
|
|||
<addColumn tableName="order_table">
|
||||
<column name="scheduling_mode" type="INTEGER" />
|
||||
</addColumn>
|
||||
<addDefaultValue tableName="order_table" columnName="scheduling_mode"
|
||||
defaultValue="0" />
|
||||
<update tableName="order_table">
|
||||
<column name="schedulingMode" value="0" />
|
||||
</update>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="rename start_constraint_type in task and task milestone" author="ogonzalez">
|
||||
|
|
@ -38,15 +40,16 @@
|
|||
<renameColumn tableName="task_milestone"
|
||||
oldColumnName="start_constraint_type"
|
||||
newColumnName="constraint_type" columnDataType="INTEGER" />
|
||||
</changeSet>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="add-scenarios-enabled-configuration-setting" author="ltilve">
|
||||
<comment>Add new column with scenarios visibility flag</comment>
|
||||
<addColumn tableName="configuration">
|
||||
<column name="scenarios_visible" type="BOOLEAN" />
|
||||
</addColumn>
|
||||
<addDefaultValue tableName="configuration" columnName="scenarios_visible"
|
||||
defaultValueBoolean="FALSE" />
|
||||
<update tableName="configuration">
|
||||
<column name="scenarios_visible" valueBoolean="FALSE" />
|
||||
</update>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue