aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-08 16:42:21 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-08 16:42:21 -0700
commit3241b83dc95fa151ac66dd88c102f08cc7cfaa7a (patch)
tree1f8f0bb3fd8329ac3ffcc249f1aa56a9139e028f
parentb40358c4cee2e2d9b5b11b6264f4974c508a4ab9 (diff)
downloadtrackermap-server-3241b83dc95fa151ac66dd88c102f08cc7cfaa7a.tar.gz
trackermap-server-3241b83dc95fa151ac66dd88c102f08cc7cfaa7a.tar.bz2
trackermap-server-3241b83dc95fa151ac66dd88c102f08cc7cfaa7a.zip
Fix column rename issue
-rw-r--r--schema/changelog-4.16.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/schema/changelog-4.16.xml b/schema/changelog-4.16.xml
index adf8d4fc6..8bf3a41d5 100644
--- a/schema/changelog-4.16.xml
+++ b/schema/changelog-4.16.xml
@@ -16,11 +16,11 @@
<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="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" />
- <renameColumn tableName="tc_orders" oldColumnName="fromaddresstmp" newColumnName="fromaddress" />
+ <renameColumn tableName="tc_orders" oldColumnName="toaddresstmp" newColumnName="toaddress" columnDataType="VARCHAR(512)" />
+ <renameColumn tableName="tc_orders" oldColumnName="fromaddresstmp" newColumnName="fromaddress" columnDataType="VARCHAR(512)" />
</changeSet>