diff options
Diffstat (limited to 'schema/changelog-3.16.xml')
-rw-r--r-- | schema/changelog-3.16.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/schema/changelog-3.16.xml b/schema/changelog-3.16.xml index 74fe35c3d..b5af517da 100644 --- a/schema/changelog-3.16.xml +++ b/schema/changelog-3.16.xml @@ -8,6 +8,12 @@ <changeSet author="author" id="changelog-3.16"> + <preConditions onFail="MARK_RAN"> + <not> + <tableExists tableName="tc_servers" /> + </not> + </preConditions> + <addColumn tableName="devices"> <column name="disabled" type="BOOLEAN" defaultValueBoolean="false" /> </addColumn> @@ -27,4 +33,5 @@ <addForeignKeyConstraint baseColumnNames="calendarid" baseTableName="notifications" constraintName="fk_notification_calendar_calendarid" onDelete="SET NULL" onUpdate="RESTRICT" referencedColumnNames="id" referencedTableName="calendars" /> </changeSet> + </databaseChangeLog> |