Make sure existing identity entries are approved in migration

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2017-05-25 11:26:32 -07:00
parent 0367bf0de4
commit 5455bdffb2

View File

@ -877,6 +877,8 @@ public class DatabaseFactory {
db.execSQL("DROP INDEX archived_count_index");
db.execSQL("CREATE INDEX IF NOT EXISTS archived_count_index ON thread (archived, message_count)");
db.execSQL("UPDATE identities SET blocking_approval = '1'");
}
db.setTransactionSuccessful();