Try removing the "messages" table creation from accountdb.xml
It's fucking up my migrations
This commit is contained in:
parent
999f29d315
commit
e2f5b430fb
1 changed files with 34 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
||||||
|
diff --git a/src/main/resources/accountsdb.xml b/src/main/resources/accountsdb.xml
|
||||||
|
index f2a9c31..7090051 100644
|
||||||
|
--- a/src/main/resources/accountsdb.xml
|
||||||
|
+++ b/src/main/resources/accountsdb.xml
|
||||||
|
@@ -119,29 +119,6 @@
|
||||||
|
</column>
|
||||||
|
</createTable>
|
||||||
|
|
||||||
|
- <createTable tableName="messages">
|
||||||
|
- <column name="id" type="bigint" autoIncrement="true">
|
||||||
|
- <constraints primaryKey="true" nullable="false"/>
|
||||||
|
- </column>
|
||||||
|
-
|
||||||
|
- <column name="account_id" type="bigint">
|
||||||
|
- <constraints nullable="false"/>
|
||||||
|
- </column>
|
||||||
|
-
|
||||||
|
- <column name="device_id" type="bigint">
|
||||||
|
- <constraints nullable="false"/>
|
||||||
|
- </column>
|
||||||
|
-
|
||||||
|
- <column name="encrypted_message" type="text">
|
||||||
|
- <constraints nullable="false"/>
|
||||||
|
- </column>
|
||||||
|
- </createTable>
|
||||||
|
-
|
||||||
|
- <createIndex tableName="messages" indexName="messages_account_and_device">
|
||||||
|
- <column name="account_id"/>
|
||||||
|
- <column name="device_id"/>
|
||||||
|
- </createIndex>
|
||||||
|
-
|
||||||
|
</changeSet>
|
||||||
|
|
||||||
|
<changeSet id="3" author="moxie">
|
Loading…
Reference in a new issue