aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-5.0.xml
diff options
context:
space:
mode:
authorcasswarry0 <casswarry0@gmail.com>2023-01-17 17:14:53 -0700
committercasswarry0 <casswarry0@gmail.com>2023-01-17 17:14:53 -0700
commit7338b8730949ed027b3f8b31d7dca20687ebbb8b (patch)
treec2d171e6121818ab511460a786f69aab97a2a628 /schema/changelog-5.0.xml
parentcdecd3fa4427a382c0b09f8ad9d69ec14388960a (diff)
parent85501f9cf4918d5eee345f83aed7a31eecb26b8d (diff)
downloadtrackermap-server-7338b8730949ed027b3f8b31d7dca20687ebbb8b.tar.gz
trackermap-server-7338b8730949ed027b3f8b31d7dca20687ebbb8b.tar.bz2
trackermap-server-7338b8730949ed027b3f8b31d7dca20687ebbb8b.zip
Merge branch 'master' into develop
Diffstat (limited to 'schema/changelog-5.0.xml')
-rw-r--r--schema/changelog-5.0.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/schema/changelog-5.0.xml b/schema/changelog-5.0.xml
new file mode 100644
index 000000000..0e8474eef
--- /dev/null
+++ b/schema/changelog-5.0.xml
@@ -0,0 +1,33 @@
+<?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-5.0">
+
+ <changeSet author="author" id="changelog-5.0">
+
+ <preConditions onFail="MARK_RAN">
+ <not>
+ <columnExists tableName="tc_servers" columnName="disablereports" />
+ </not>
+ </preConditions>
+
+ <addColumn tableName="tc_servers">
+ <column name="disablereports" type="BOOLEAN" defaultValueBoolean="false" />
+ </addColumn>
+
+ <addColumn tableName="tc_users">
+ <column name="disablereports" type="BOOLEAN" defaultValueBoolean="false" />
+ </addColumn>
+
+ <renameColumn tableName="tc_orders" oldColumnName="toAddress" newColumnName="toaddresstmp" columnDataType="VARCHAR(512)" />
+ <renameColumn tableName="tc_orders" oldColumnName="fromAddress" newColumnName="fromaddresstmp" columnDataType="VARCHAR(512)" />
+
+ <renameColumn tableName="tc_orders" oldColumnName="toaddresstmp" newColumnName="toaddress" columnDataType="VARCHAR(512)" />
+ <renameColumn tableName="tc_orders" oldColumnName="fromaddresstmp" newColumnName="fromaddress" columnDataType="VARCHAR(512)" />
+
+ </changeSet>
+
+</databaseChangeLog>