Simplification

pull/207/head
M66B 3 years ago
parent 16956571a5
commit 494b59515a

@ -1617,8 +1617,7 @@ public abstract class DB extends RoomDatabase {
logMigration(startVersion, endVersion); logMigration(startVersion, endVersion);
db.execSQL("CREATE VIEW IF NOT EXISTS `account_view` AS " + db.execSQL("CREATE VIEW IF NOT EXISTS `account_view` AS " +
TupleAccountView.query.replace(", category", "")); TupleAccountView.query.replace(", category", ""));
db.execSQL("CREATE VIEW IF NOT EXISTS `identity_view` AS " + db.execSQL("CREATE VIEW IF NOT EXISTS `identity_view` AS " + TupleIdentityView.query);
TupleIdentityView.query.replace(", account", ""));
db.execSQL("CREATE VIEW IF NOT EXISTS `folder_view` AS " + TupleFolderView.query); db.execSQL("CREATE VIEW IF NOT EXISTS `folder_view` AS " + TupleFolderView.query);
} }
}) })

Loading…
Cancel
Save