Merge branch 'soru/fix-migration' into 'master'

indexes are already created when creating a talbe

Closes app#591

See merge request famedly/famedlysdk!381
This commit is contained in:
Christian Pauly 2020-07-14 16:21:37 +00:00
commit 2c9a09ed5e

View file

@ -48,7 +48,6 @@ class Database extends _$Database {
} }
if (from == 3) { if (from == 3) {
await m.createTable(userCrossSigningKeys); await m.createTable(userCrossSigningKeys);
await m.createIndex(userCrossSigningKeysIndex);
await m.createTable(ssssCache); await m.createTable(ssssCache);
// mark all keys as outdated so that the cross signing keys will be fetched // mark all keys as outdated so that the cross signing keys will be fetched
await m.issueCustomQuery( await m.issueCustomQuery(