aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-06 09:42:02 +1200
committerGitHub <noreply@github.com>2017-09-06 09:42:02 +1200
commit3e5167131c758dd6e75e0f5d9b265a1514baac0c (patch)
tree2f2d8bce250fa80fb1a1d1bf3b6a652060a18f2c /schema
parent36c62f0f2ca21ccd5040f8529f446b1b697dba69 (diff)
parentba892a34c4a78ddc4ec7b24cc72b62278f608322 (diff)
downloadtraccar-server-3e5167131c758dd6e75e0f5d9b265a1514baac0c.tar.gz
traccar-server-3e5167131c758dd6e75e0f5d9b265a1514baac0c.tar.bz2
traccar-server-3e5167131c758dd6e75e0f5d9b265a1514baac0c.zip
Merge pull request #3504 from Abyss777/remove_aliases
Remove Attribute Aliases
Diffstat (limited to 'schema')
-rw-r--r--schema/changelog-3.15.xml17
-rw-r--r--schema/changelog-master.xml1
2 files changed, 18 insertions, 0 deletions
diff --git a/schema/changelog-3.15.xml b/schema/changelog-3.15.xml
new file mode 100644
index 000000000..a2d944abb
--- /dev/null
+++ b/schema/changelog-3.15.xml
@@ -0,0 +1,17 @@
+<?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-3.15">
+
+ <changeSet author="author" id="changelog-3.15">
+
+ <dropForeignKeyConstraint baseTableName="attribute_aliases" constraintName="fk_attribute_aliases_deviceid" />
+ <dropUniqueConstraint tableName="attribute_aliases" constraintName="uk_deviceid_attribute" />
+
+ <dropTable tableName="attribute_aliases" />
+
+ </changeSet>
+</databaseChangeLog>
diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml
index d1b51b40e..58b2a8307 100644
--- a/schema/changelog-master.xml
+++ b/schema/changelog-master.xml
@@ -15,4 +15,5 @@
<include file="changelog-3.11.xml" relativeToChangelogFile="true" />
<include file="changelog-3.12.xml" relativeToChangelogFile="true" />
<include file="changelog-3.14.xml" relativeToChangelogFile="true" />
+ <include file="changelog-3.15.xml" relativeToChangelogFile="true" />
</databaseChangeLog>