create messages_fulltext table when creating db from scratch

This commit is contained in:
Vincent Breitmoser 2016-04-27 22:15:31 +02:00
parent e3ecfe349c
commit 5a374c062e

View file

@ -200,6 +200,8 @@ class StoreSchemaDefinition implements LockableDatabase.SchemaDefinition {
"BEGIN " +
"DELETE FROM message_parts WHERE root = OLD.message_part_id;" +
"END");
db.execSQL("CREATE VIRTUAL TABLE messages_fulltext USING fts4 (fulltext)");
}