MOBILE-3833 core: Fix current site table migration
parent
b98e7d4d0a
commit
f8cba471fd
|
@ -1792,6 +1792,8 @@ export class CoreSitesProvider {
|
|||
await CoreConfig.set('current_site_id', siteId);
|
||||
await CoreApp.deleteTableSchema('current_site');
|
||||
await db.dropTable('current_site');
|
||||
} catch {
|
||||
// There was no current site, silence the error.
|
||||
} finally {
|
||||
await CoreConfig.set('current_site_migrated', 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue