mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 13:18:26 +00:00
Make sure existing identity entries are approved in migration
// FREEBIE
This commit is contained in:
parent
0367bf0de4
commit
5455bdffb2
@ -877,6 +877,8 @@ public class DatabaseFactory {
|
|||||||
|
|
||||||
db.execSQL("DROP INDEX archived_count_index");
|
db.execSQL("DROP INDEX archived_count_index");
|
||||||
db.execSQL("CREATE INDEX IF NOT EXISTS archived_count_index ON thread (archived, message_count)");
|
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();
|
db.setTransactionSuccessful();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user