aboutsummaryrefslogtreecommitdiff
path: root/database/db.changelog-3.2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'database/db.changelog-3.2.xml')
-rw-r--r--database/db.changelog-3.2.xml24
1 files changed, 12 insertions, 12 deletions
diff --git a/database/db.changelog-3.2.xml b/database/db.changelog-3.2.xml
index 015c71588..750e91dc8 100644
--- a/database/db.changelog-3.2.xml
+++ b/database/db.changelog-3.2.xml
@@ -13,25 +13,25 @@
</not>
</preConditions>
- <dropNotNullConstraint tableName="user" columnName="latitude" />
+ <dropNotNullConstraint tableName="user" columnName="latitude" columnDataType="FLOAT" />
<dropDefaultValue tableName="user" columnName="latitude" />
<modifyDataType tableName="user" columnName="latitude" newDataType="DOUBLE" />
- <addNotNullConstraint tableName="user" columnName="latitude" />
+ <addNotNullConstraint tableName="user" columnName="latitude" columnDataType="DOUBLE" />
<addDefaultValue tableName="user" columnName="latitude" defaultValueNumeric="0" />
- <dropNotNullConstraint tableName="user" columnName="longitude" />
+ <dropNotNullConstraint tableName="user" columnName="longitude" columnDataType="FLOAT" />
<dropDefaultValue tableName="user" columnName="longitude" />
<modifyDataType tableName="user" columnName="longitude" newDataType="DOUBLE" />
- <addNotNullConstraint tableName="user" columnName="longitude" />
+ <addNotNullConstraint tableName="user" columnName="longitude" columnDataType="DOUBLE" />
<addDefaultValue tableName="user" columnName="longitude" defaultValueNumeric="0" />
<dropColumn tableName="device" columnName="dataId" />
- <dropNotNullConstraint tableName="position" columnName="latitude" />
+ <dropNotNullConstraint tableName="position" columnName="latitude" columnDataType="FLOAT" />
<modifyDataType tableName="position" columnName="latitude" newDataType="DOUBLE" />
- <addNotNullConstraint tableName="position" columnName="latitude" />
- <dropNotNullConstraint tableName="position" columnName="longitude" />
+ <addNotNullConstraint tableName="position" columnName="latitude" columnDataType="DOUBLE" />
+ <dropNotNullConstraint tableName="position" columnName="longitude" columnDataType="FLOAT" />
<modifyDataType tableName="position" columnName="longitude" newDataType="DOUBLE" />
- <addNotNullConstraint tableName="position" columnName="longitude" />
+ <addNotNullConstraint tableName="position" columnName="longitude" columnDataType="DOUBLE" />
<renameColumn tableName="position" oldColumnName="other" newColumnName="attributes" columnDataType="VARCHAR(4096)" />
<dropTable tableName="data" />
@@ -42,12 +42,12 @@
<addColumn tableName="server">
<column name="mapUrl" type="VARCHAR(128)" />
</addColumn>
- <dropNotNullConstraint tableName="server" columnName="latitude" />
+ <dropNotNullConstraint tableName="server" columnName="latitude" columnDataType="FLOAT" />
<modifyDataType tableName="server" columnName="latitude" newDataType="DOUBLE" />
- <addNotNullConstraint tableName="server" columnName="latitude" />
- <dropNotNullConstraint tableName="server" columnName="longitude" />
+ <addNotNullConstraint tableName="server" columnName="latitude" columnDataType="DOUBLE" />
+ <dropNotNullConstraint tableName="server" columnName="longitude" columnDataType="FLOAT" />
<modifyDataType tableName="server" columnName="longitude" newDataType="DOUBLE" />
- <addNotNullConstraint tableName="server" columnName="longitude" />
+ <addNotNullConstraint tableName="server" columnName="longitude" columnDataType="DOUBLE" />
<update tableName="traccar">
<column name="version" valueNumeric="302" />