aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-17 10:20:10 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-17 10:20:10 +1300
commit5d51aafba634c04576948fd380fa3467bd260c45 (patch)
tree395a905475a1d94505841a832b5344b17cf151f1
parentc422898f913eaea260170cf2f4c05e7c932a80ff (diff)
downloadtraccar-server-5d51aafba634c04576948fd380fa3467bd260c45.tar.gz
traccar-server-5d51aafba634c04576948fd380fa3467bd260c45.tar.bz2
traccar-server-5d51aafba634c04576948fd380fa3467bd260c45.zip
Remove not null column constraints
-rw-r--r--database/changelog-3.5.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/database/changelog-3.5.xml b/database/changelog-3.5.xml
index 56f4ea65e..cbd0287b0 100644
--- a/database/changelog-3.5.xml
+++ b/database/changelog-3.5.xml
@@ -36,8 +36,11 @@
<dropColumn tableName="users" columnName="language" />
<dropColumn tableName="server" columnName="language" />
+ <dropNotNullConstraint tableName="users" columnName="map" columnDataType="VARCHAR(128)" />
<dropDefaultValue tableName="users" columnName="map" />
+ <dropNotNullConstraint tableName="users" columnName="distanceunit" columnDataType="VARCHAR(128)" />
<dropDefaultValue tableName="users" columnName="distanceunit" />
+ <dropNotNullConstraint tableName="users" columnName="speedunit" columnDataType="VARCHAR(128)" />
<dropDefaultValue tableName="users" columnName="speedunit" />
<addColumn tableName="users">