KB66 Add editor role.
Change-Id: Ibcf94b6532ccb1602bf169ffb434b75557767598
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>