Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0e64a33 authored by Vincent Breitmoser's avatar Vincent Breitmoser
Browse files

drop message_parts table before creation in dbCreateDatabaseFromScratch

parent 2ccbf581
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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, " +