From 494b59515a36d5e49caee64363de31128dee521a Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 4 Apr 2022 20:27:57 +0200 Subject: [PATCH] Simplification --- app/src/main/java/eu/faircode/email/DB.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/DB.java b/app/src/main/java/eu/faircode/email/DB.java index f062a7efd1..2a1e0bbf08 100644 --- a/app/src/main/java/eu/faircode/email/DB.java +++ b/app/src/main/java/eu/faircode/email/DB.java @@ -1617,8 +1617,7 @@ public abstract class DB extends RoomDatabase { logMigration(startVersion, endVersion); db.execSQL("CREATE VIEW IF NOT EXISTS `account_view` AS " + TupleAccountView.query.replace(", category", "")); - db.execSQL("CREATE VIEW IF NOT EXISTS `identity_view` AS " + - TupleIdentityView.query.replace(", account", "")); + db.execSQL("CREATE VIEW IF NOT EXISTS `identity_view` AS " + TupleIdentityView.query); db.execSQL("CREATE VIEW IF NOT EXISTS `folder_view` AS " + TupleFolderView.query); } })