drop message_parts table before creation in dbCreateDatabaseFromScratch

This commit is contained in:
Vincent Breitmoser 2016-05-23 21:53:38 +02:00
parent 2ccbf581ab
commit f0e64a33a4

View file

@ -123,6 +123,7 @@ class StoreSchemaDefinition implements LockableDatabase.SchemaDefinition {
"message_part_id INTEGER" +
")");
db.execSQL("DROP TABLE IF EXISTS message_parts");
db.execSQL("CREATE TABLE message_parts (" +
"id INTEGER PRIMARY KEY, " +
"type INTEGER NOT NULL, " +