aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-02-22 09:56:07 -0800
committerGitHub <noreply@github.com>2022-02-22 09:56:07 -0800
commit5363b99a75820661b5c5318bc633202be4c352d8 (patch)
treed64872e29f019bbb4d7220b8a8ea4d4885fae84d
parent73df090369b377dc55d77c6ada92722975d8fe99 (diff)
parent82305faa20e383ea569bc5be17eb8cd74c6131f1 (diff)
downloadtrackermap-server-5363b99a75820661b5c5318bc633202be4c352d8.tar.gz
trackermap-server-5363b99a75820661b5c5318bc633202be4c352d8.tar.bz2
trackermap-server-5363b99a75820661b5c5318bc633202be4c352d8.zip
Merge pull request #4811 from grmt/bugfix/postgres-orders-columns-lowercase
Fix postgres orders columns lowercase
-rw-r--r--schema/changelog-4.16.xml6
-rw-r--r--schema/changelog-master.xml2
2 files changed, 7 insertions, 1 deletions
diff --git a/schema/changelog-4.16.xml b/schema/changelog-4.16.xml
index 0b6493f03..adf8d4fc6 100644
--- a/schema/changelog-4.16.xml
+++ b/schema/changelog-4.16.xml
@@ -16,6 +16,12 @@
<column name="disablereports" type="BOOLEAN" defaultValueBoolean="false" />
</addColumn>
+ <renameColumn tableName="tc_orders" oldColumnName="toAddress" newColumnName="toaddresstmp" />
+ <renameColumn tableName="tc_orders" oldColumnName="fromAddress" newColumnName="fromaddresstmp" />
+
+ <renameColumn tableName="tc_orders" oldColumnName="toaddresstmp" newColumnName="toaddress" />
+ <renameColumn tableName="tc_orders" oldColumnName="fromaddresstmp" newColumnName="fromaddress" />
+
</changeSet>
</databaseChangeLog>
diff --git a/schema/changelog-master.xml b/schema/changelog-master.xml
index 354037cdd..d79e084f6 100644
--- a/schema/changelog-master.xml
+++ b/schema/changelog-master.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?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"