aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-18 16:05:35 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-18 16:05:35 +0500
commitc9b67d19132b687bea9130f39f13a5515b120e5e (patch)
tree5890f28c060777ecb6be32b18daaa2d555496be6 /schema
parent3eca9acd6e6a160df8f7b86150429c3d7c09b0c3 (diff)
downloadtraccar-server-c9b67d19132b687bea9130f39f13a5515b120e5e.tar.gz
traccar-server-c9b67d19132b687bea9130f39f13a5515b120e5e.tar.bz2
traccar-server-c9b67d19132b687bea9130f39f13a5515b120e5e.zip
Implement users tokens
Diffstat (limited to 'schema')
-rw-r--r--schema/changelog-3.8.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/schema/changelog-3.8.xml b/schema/changelog-3.8.xml
index ba591f192..f53673eae 100644
--- a/schema/changelog-3.8.xml
+++ b/schema/changelog-3.8.xml
@@ -116,6 +116,11 @@
<addColumn tableName="users">
<column name="devicelimit" type="INT" defaultValueNumeric="0" />
</addColumn>
+ <addColumn tableName="users">
+ <column name="token" type="VARCHAR(128)" />
+ </addColumn>
+
+ <addUniqueConstraint tableName="users" columnNames="token" constraintName="uk_user_token" />
</changeSet>
</databaseChangeLog>