summaryrefslogtreecommitdiff
path: root/src/main/resources/db/changeLog-1.7.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/db/changeLog-1.7.xml')
-rw-r--r--src/main/resources/db/changeLog-1.7.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/resources/db/changeLog-1.7.xml b/src/main/resources/db/changeLog-1.7.xml
index 8824115..cfdad49 100644
--- a/src/main/resources/db/changeLog-1.7.xml
+++ b/src/main/resources/db/changeLog-1.7.xml
@@ -52,4 +52,18 @@
</createTable>
</changeSet>
+ <changeSet author="mulk" id="1.7-3">
+ <addColumn tableName="newsletter_subscriptions" schemaName="benki">
+ <column name="registration_key" type="VARCHAR">
+ <constraints unique="true" uniqueConstraintName="newsletter_subscriptions_registration_key_key"/>
+ </column>
+ </addColumn>
+
+ <createIndex tableName="newsletter_subscriptions"
+ schemaName="benki"
+ indexName="newsletter_subscriptions_registration_key_idx">
+ <column name="registration_key"/>
+ </createIndex>
+ </changeSet>
+
</databaseChangeLog>