aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-6.3.xml
blob: c987a7315d126768a20bd8ffa5f4c87c14fde613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
  xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
                      http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
  logicalFilePath="changelog-6.3">

  <changeSet author="author" id="changelog-6.3-old">

    <preConditions onFail="MARK_RAN">
      <foreignKeyConstraintExists foreignKeyTableName="tc_events" foreignKeyName="fk_event_deviceid" />
    </preConditions>

    <dropForeignKeyConstraint baseTableName="tc_events" constraintName="fk_event_deviceid" />
    <dropForeignKeyConstraint baseTableName="tc_positions" constraintName="fk_position_deviceid" />

  </changeSet>

  <changeSet author="author" id="changelog-6.3-new">

    <preConditions onFail="MARK_RAN">
      <foreignKeyConstraintExists foreignKeyTableName="tc_events" foreignKeyName="fk_events_deviceid" />
    </preConditions>

    <dropForeignKeyConstraint baseTableName="tc_events" constraintName="fk_events_deviceid" />
    <dropForeignKeyConstraint baseTableName="tc_positions" constraintName="fk_positions_deviceid" />

  </changeSet>

</databaseChangeLog>