aboutsummaryrefslogtreecommitdiff
path: root/schema/changelog-3.17.xml
diff options
context:
space:
mode:
Diffstat (limited to 'schema/changelog-3.17.xml')
-rw-r--r--schema/changelog-3.17.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/schema/changelog-3.17.xml b/schema/changelog-3.17.xml
index ef296fe25..54c3db531 100644
--- a/schema/changelog-3.17.xml
+++ b/schema/changelog-3.17.xml
@@ -6,6 +6,18 @@
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
logicalFilePath="changelog-3.17">
+ <changeSet author="author" id="changelog-3.3-admin">
+
+ <preConditions onFail="MARK_RAN">
+ <not>
+ <columnExists tableName="administrator" columnName="admin" />
+ </not>
+ </preConditions>
+
+ <renameColumn tableName="users" columnDataType="BOOLEAN" oldColumnName="admin" newColumnName="administrator" />
+
+ </changeSet>
+
<changeSet author="author" id="changelog-3.17">
<addColumn tableName="events">