]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/schemas/net.ktnx.mobileledger.db.DB/58.json
Room takes over DB migrations
[mobile-ledger.git] / app / schemas / net.ktnx.mobileledger.db.DB / 58.json
index fd3239de6983b4a168f518739052e91490a21984..c4dea2e7588da3ae69f27a6fcb942c0d94d4541c 100644 (file)
@@ -2,7 +2,7 @@
   "formatVersion": 1,
   "database": {
     "version": 58,
-    "identityHash": "249d4507f837a17defe32f1bc9dc2de6",
+    "identityHash": "0f584c8b143be77895cc315ffbc41f3e",
     "entities": [
       {
         "tableName": "templates",
           ],
           "autoGenerate": false
         },
-        "indices": [],
+        "indices": [
+          {
+            "name": "fk_tran_acc_prof_acc",
+            "unique": false,
+            "columnNames": [
+              "profile",
+              "account_name"
+            ],
+            "createSql": "CREATE INDEX IF NOT EXISTS `fk_tran_acc_prof_acc` ON `${TABLE_NAME}` (`profile`, `account_name`)"
+          }
+        ],
         "foreignKeys": [
           {
             "table": "transactions",
     "views": [],
     "setupQueries": [
       "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
-      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '249d4507f837a17defe32f1bc9dc2de6')"
+      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0f584c8b143be77895cc315ffbc41f3e')"
     ]
   }
 }
\ No newline at end of file