Try removing the "messages" table creation from accountdb.xml

It's fucking up my migrations
This commit is contained in:
Finn Herzfeld 2019-01-08 15:32:15 -08:00
parent 999f29d315
commit e2f5b430fb

View file

@ -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">