diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-25 15:48:27 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-25 15:48:27 +1300 |
commit | 28eac4e15b950f832f52ad3cb3b0426f3e590d9c (patch) | |
tree | 42620399466b641be7f257ba0fe3701f8ac2860c /database/db.changelog-3.2.xml | |
parent | ff8b6278529338a037df2e577267c7c5b6d1c69f (diff) | |
download | trackermap-server-28eac4e15b950f832f52ad3cb3b0426f3e590d9c.tar.gz trackermap-server-28eac4e15b950f832f52ad3cb3b0426f3e590d9c.tar.bz2 trackermap-server-28eac4e15b950f832f52ad3cb3b0426f3e590d9c.zip |
Update scripts to work with SQL Server
Diffstat (limited to 'database/db.changelog-3.2.xml')
-rw-r--r-- | database/db.changelog-3.2.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/database/db.changelog-3.2.xml b/database/db.changelog-3.2.xml index a1fc19b06..fdeabfb68 100644 --- a/database/db.changelog-3.2.xml +++ b/database/db.changelog-3.2.xml @@ -13,13 +13,13 @@ </not> </preConditions> - <dropNotNullConstraint tableName="user" columnName="latitude" columnDataType="FLOAT" /> <dropDefaultValue tableName="user" columnName="latitude" /> + <dropNotNullConstraint tableName="user" columnName="latitude" columnDataType="FLOAT" /> <modifyDataType tableName="user" columnName="latitude" newDataType="DOUBLE" /> <addNotNullConstraint tableName="user" columnName="latitude" columnDataType="DOUBLE" /> <addDefaultValue tableName="user" columnName="latitude" defaultValueNumeric="0" /> - <dropNotNullConstraint tableName="user" columnName="longitude" columnDataType="FLOAT" /> <dropDefaultValue tableName="user" columnName="longitude" /> + <dropNotNullConstraint tableName="user" columnName="longitude" columnDataType="FLOAT" /> <modifyDataType tableName="user" columnName="longitude" newDataType="DOUBLE" /> <addNotNullConstraint tableName="user" columnName="longitude" columnDataType="DOUBLE" /> <addDefaultValue tableName="user" columnName="longitude" defaultValueNumeric="0" /> @@ -44,10 +44,12 @@ <addColumn tableName="server"> <column name="mapUrl" type="VARCHAR(128)" /> </addColumn> + <dropDefaultValue tableName="server" columnName="latitude" /> <dropNotNullConstraint tableName="server" columnName="latitude" columnDataType="FLOAT" /> <modifyDataType tableName="server" columnName="latitude" newDataType="DOUBLE" /> <addNotNullConstraint tableName="server" columnName="latitude" columnDataType="DOUBLE" /> <addDefaultValue tableName="server" columnName="latitude" defaultValueNumeric="0" /> + <dropDefaultValue tableName="server" columnName="longitude" /> <dropNotNullConstraint tableName="server" columnName="longitude" columnDataType="FLOAT" /> <modifyDataType tableName="server" columnName="longitude" newDataType="DOUBLE" /> <addNotNullConstraint tableName="server" columnName="longitude" columnDataType="DOUBLE" /> |