aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-20 10:06:34 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-20 10:06:34 +1300
commit1d05464285590776e3a526e1a1939035887ad47f (patch)
treedc06aadd0d930c699a2ec8d43a6c3e0b269e40c8 /schema
parent350518bfad94def5183343df915c7e5a1524c11f (diff)
downloadtrackermap-server-1d05464285590776e3a526e1a1939035887ad47f.tar.gz
trackermap-server-1d05464285590776e3a526e1a1939035887ad47f.tar.bz2
trackermap-server-1d05464285590776e3a526e1a1939035887ad47f.zip
Remove unique token constraint
Diffstat (limited to 'schema')
-rw-r--r--schema/changelog-3.8.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/schema/changelog-3.8.xml b/schema/changelog-3.8.xml
index f53673eae..120ddf5cc 100644
--- a/schema/changelog-3.8.xml
+++ b/schema/changelog-3.8.xml
@@ -119,8 +119,12 @@
<addColumn tableName="users">
<column name="token" type="VARCHAR(128)" />
</addColumn>
-
- <addUniqueConstraint tableName="users" columnNames="token" constraintName="uk_user_token" />
+
+ </changeSet>
+
+ <changeSet author="author" id="changelog-3.8-dropuniquetoken" failOnError="false">
+
+ <dropUniqueConstraint tableName="users" uniqueColumns="token" constraintName="uk_user_token" />
</changeSet>
</databaseChangeLog>