diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-19 10:14:49 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-19 10:14:49 +1300 |
commit | 51a34e4580ecf7973be3f9ef6745f19aeb3cb9c7 (patch) | |
tree | 10a8ac0f371ba9fc08e50ca27758f393a160b2c5 /database/db.changelog-3.2.xml | |
parent | 3bb4c83e70e2898b20e3263c3700d15796caf4a6 (diff) | |
download | trackermap-server-51a34e4580ecf7973be3f9ef6745f19aeb3cb9c7.tar.gz trackermap-server-51a34e4580ecf7973be3f9ef6745f19aeb3cb9c7.tar.bz2 trackermap-server-51a34e4580ecf7973be3f9ef6745f19aeb3cb9c7.zip |
Add column data type for mysql database
Diffstat (limited to 'database/db.changelog-3.2.xml')
-rw-r--r-- | database/db.changelog-3.2.xml | 24 |
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" /> |