Merge pull request #55 from skylow95/master

Change db-changelog.xml
This commit is contained in:
Jeroen Baten 2016-04-19 14:20:09 +02:00
commit 4dc0ab2e3c
2 changed files with 14 additions and 6 deletions

View file

@ -174,16 +174,24 @@
</changeSet>
<changeSet id="add-new-column-allow_to_gather_usage_stats_enabled" author="mrego">
<comment>Add new column allow_to_gather_usage_stats_enabled with default value FALSE to configuration table</comment>
<comment>Add new column allow_to_gather_usage_stats_enabled with default value TRUE to configuration table</comment>
<addColumn tableName="configuration">
<column name="allow_to_gather_usage_stats_enabled" type="BOOLEAN" />
</addColumn>
<addDefaultValue tableName="configuration" columnName="allow_to_gather_usage_stats_enabled"
defaultValueBoolean="FALSE" />
defaultValueBoolean="TRUE" />
<addNotNullConstraint tableName="configuration"
columnName="allow_to_gather_usage_stats_enabled"
defaultNullValue="FALSE"
columnName="allow_to_gather_usage_stats_enabled"
defaultNullValue="TRUE"
columnDataType="BOOLEAN" />
</changeSet>
<changeSet id="update allow_to_gather_usage_stats_enabled" author="bogdan/jeroen" runAlways="true">
<comment>Update allow_to_gather_usage_stats_enabled field</comment>
<update tableName="configuration">
<column name="allow_to_gather_usage_stats_enabled" valueBoolean="TRUE"/>
</update>
</changeSet>
<changeSet id="change-column-description-in-order_element-to-text"

View file

@ -60,8 +60,8 @@
initiallyDeferred="false"
tableName="limits"/>
<sql>
INSERT INTO limits VALUES(1, 'users', 5);
INSERT INTO limits VALUES(2, 'workers+machines', 10);
INSERT INTO limits VALUES(1, 'users', 0);
INSERT INTO limits VALUES(2, 'workers+machines', 0);
</sql>
</changeSet>