Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d47db96d authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

db changes

parent 9108a2ac
Loading
Loading
Loading
Loading
+28 −3
Original line number Diff line number Diff line
@@ -2,11 +2,11 @@
  "formatVersion": 1,
  "database": {
    "version": 11,
    "identityHash": "223aa7f0fd53730921ca212a663585d8",
    "identityHash": "f9b5aba8e529d0a97714784626add644",
    "entities": [
      {
        "tableName": "service",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `type` TEXT NOT NULL, `principal` TEXT)",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `authState` TEXT, `accountType` TEXT, `addressBookAccountType` TEXT, `type` TEXT NOT NULL, `principal` TEXT)",
        "fields": [
          {
            "fieldPath": "id",
@@ -20,6 +20,24 @@
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authState",
            "columnName": "authState",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "accountType",
            "columnName": "accountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "addressBookAccountType",
            "columnName": "addressBookAccountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "type",
            "columnName": "type",
@@ -47,6 +65,7 @@
              "accountName",
              "type"
            ],
            "orders": [],
            "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_service_accountName_type` ON `${TABLE_NAME}` (`accountName`, `type`)"
          }
        ],
@@ -107,6 +126,7 @@
              "serviceId",
              "url"
            ],
            "orders": [],
            "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_homeset_serviceId_url` ON `${TABLE_NAME}` (`serviceId`, `url`)"
          }
        ],
@@ -251,6 +271,7 @@
              "serviceId",
              "type"
            ],
            "orders": [],
            "createSql": "CREATE INDEX IF NOT EXISTS `index_collection_serviceId_type` ON `${TABLE_NAME}` (`serviceId`, `type`)"
          },
          {
@@ -260,6 +281,7 @@
              "homeSetId",
              "type"
            ],
            "orders": [],
            "createSql": "CREATE INDEX IF NOT EXISTS `index_collection_homeSetId_type` ON `${TABLE_NAME}` (`homeSetId`, `type`)"
          },
          {
@@ -268,6 +290,7 @@
            "columnNames": [
              "url"
            ],
            "orders": [],
            "createSql": "CREATE INDEX IF NOT EXISTS `index_collection_url` ON `${TABLE_NAME}` (`url`)"
          }
        ],
@@ -339,6 +362,7 @@
              "collectionId",
              "authority"
            ],
            "orders": [],
            "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_syncstats_collectionId_authority` ON `${TABLE_NAME}` (`collectionId`, `authority`)"
          }
        ],
@@ -466,6 +490,7 @@
              "parentId",
              "name"
            ],
            "orders": [],
            "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_webdav_document_mountId_parentId_name` ON `${TABLE_NAME}` (`mountId`, `parentId`, `name`)"
          }
        ],
@@ -530,7 +555,7 @@
    "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, '223aa7f0fd53730921ca212a663585d8')"
      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'f9b5aba8e529d0a97714784626add644')"
    ]
  }
}
 No newline at end of file
+21 −3
Original line number Diff line number Diff line
@@ -2,11 +2,11 @@
  "formatVersion": 1,
  "database": {
    "version": 12,
    "identityHash": "67fafceecee2d97cac6a62d46fa2c3e2",
    "identityHash": "188191fc58f4554baa135c298f85cd2f",
    "entities": [
      {
        "tableName": "service",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `type` TEXT NOT NULL, `principal` TEXT)",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `authState` TEXT, `accountType` TEXT, `addressBookAccountType` TEXT, `type` TEXT NOT NULL, `principal` TEXT)",
        "fields": [
          {
            "fieldPath": "id",
@@ -20,6 +20,24 @@
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authState",
            "columnName": "authState",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "accountType",
            "columnName": "accountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "addressBookAccountType",
            "columnName": "addressBookAccountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "type",
            "columnName": "type",
@@ -609,7 +627,7 @@
    "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, '67fafceecee2d97cac6a62d46fa2c3e2')"
      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '188191fc58f4554baa135c298f85cd2f')"
    ]
  }
}
 No newline at end of file
+19 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
    "entities": [
      {
        "tableName": "service",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `type` TEXT NOT NULL, `principal` TEXT)",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `authState` TEXT, `accountType` TEXT, `addressBookAccountType` TEXT, `type` TEXT NOT NULL, `principal` TEXT)",
        "fields": [
          {
            "fieldPath": "id",
@@ -20,6 +20,24 @@
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authState",
            "columnName": "authState",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "accountType",
            "columnName": "accountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "addressBookAccountType",
            "columnName": "addressBookAccountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "type",
            "columnName": "type",
+19 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
    "entities": [
      {
        "tableName": "service",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `type` TEXT NOT NULL, `principal` TEXT)",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `authState` TEXT, `accountType` TEXT, `addressBookAccountType` TEXT, `type` TEXT NOT NULL, `principal` TEXT)",
        "fields": [
          {
            "fieldPath": "id",
@@ -20,6 +20,24 @@
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authState",
            "columnName": "authState",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "accountType",
            "columnName": "accountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "addressBookAccountType",
            "columnName": "addressBookAccountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "type",
            "columnName": "type",
+19 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
    "entities": [
      {
        "tableName": "service",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `type` TEXT NOT NULL, `principal` TEXT)",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `accountName` TEXT NOT NULL, `authState` TEXT, `accountType` TEXT, `addressBookAccountType` TEXT, `type` TEXT NOT NULL, `principal` TEXT)",
        "fields": [
          {
            "fieldPath": "id",
@@ -20,6 +20,24 @@
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "authState",
            "columnName": "authState",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "accountType",
            "columnName": "accountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "addressBookAccountType",
            "columnName": "addressBookAccountType",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "type",
            "columnName": "type",
Loading