summaryrefslogtreecommitdiff
path: root/src/main/resources/db/changeLog-1.8.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/db/changeLog-1.8.xml')
-rw-r--r--src/main/resources/db/changeLog-1.8.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/resources/db/changeLog-1.8.xml b/src/main/resources/db/changeLog-1.8.xml
index 2359001..05948b0 100644
--- a/src/main/resources/db/changeLog-1.8.xml
+++ b/src/main/resources/db/changeLog-1.8.xml
@@ -55,4 +55,11 @@
</createIndex>
</changeSet>
+ <changeSet id="1.8-4" author="mulk">
+ <sql>
+ ALTER TABLE benki.role_tags DROP CONSTRAINT role_tags_tag_check;
+ ALTER TABLE benki.role_tags ADD CONSTRAINT role_tags_tag_check CHECK (tag = ANY(ARRAY['admin', 'everyone', 'world', 'editor']));
+ </sql>
+ </changeSet>
+
</databaseChangeLog>