aboutsummaryrefslogtreecommitdiff
path: root/database/db.changelog-3.2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'database/db.changelog-3.2.xml')
-rw-r--r--database/db.changelog-3.2.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/database/db.changelog-3.2.xml b/database/db.changelog-3.2.xml
index 576713dc7..ebee6b9e1 100644
--- a/database/db.changelog-3.2.xml
+++ b/database/db.changelog-3.2.xml
@@ -5,6 +5,22 @@
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">
+ <changeSet author="author" id="changelog-3.2-normalize">
+
+ <preConditions onFail="MARK_RAN">
+ <not>
+ <columnExists tableName="user" columnName="id"/>
+ </not>
+ </preConditions>
+
+ <renameTable oldTableName="quotedUser" newTableName="user" />
+
+ <modifySql>
+ <replace replace="quotedUser" with="&quot;user&quot;" />
+ </modifySql>
+
+ </changeSet>
+
<changeSet author="author" id="changelog-3.2">
<preConditions onFail="MARK_RAN">