{
  "formatVersion": 1,
  "database": {
    "version": 9,
    "identityHash": "d03ffa3ea12d3b9c111057a24dfe41ac",
    "entities": [
      {
        "tableName": "KnownWatchItem",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`transportIdentifier` TEXT NOT NULL, `transportType` TEXT NOT NULL, `name` TEXT NOT NULL, `runningFwVersion` TEXT NOT NULL, `serial` TEXT NOT NULL, `connectGoal` INTEGER NOT NULL, PRIMARY KEY(`transportIdentifier`))",
        "fields": [
          {
            "fieldPath": "transportIdentifier",
            "columnName": "transportIdentifier",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "transportType",
            "columnName": "transportType",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "runningFwVersion",
            "columnName": "runningFwVersion",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "serial",
            "columnName": "serial",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "connectGoal",
            "columnName": "connectGoal",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "transportIdentifier"
          ]
        }
      },
      {
        "tableName": "LockerEntryEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`recordHashcode` INTEGER NOT NULL, `deleted` INTEGER NOT NULL, `id` TEXT NOT NULL, `version` TEXT NOT NULL, `title` TEXT NOT NULL, `type` TEXT NOT NULL, `developerName` TEXT NOT NULL, `configurable` INTEGER NOT NULL, `pbwVersionCode` TEXT NOT NULL, `sideloaded` INTEGER NOT NULL, `platforms` TEXT NOT NULL, `hearts` INTEGER, `developerId` TEXT, `timelineEnabled` INTEGER, `removeLink` TEXT, `shareLink` TEXT, `pbwLink` TEXT, `userToken` TEXT, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "recordHashcode",
            "columnName": "recordHashcode",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "deleted",
            "columnName": "deleted",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.id",
            "columnName": "id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.version",
            "columnName": "version",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.type",
            "columnName": "type",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.developerName",
            "columnName": "developerName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.configurable",
            "columnName": "configurable",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.pbwVersionCode",
            "columnName": "pbwVersionCode",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.sideloaded",
            "columnName": "sideloaded",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.platforms",
            "columnName": "platforms",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.appstoreData.hearts",
            "columnName": "hearts",
            "affinity": "INTEGER"
          },
          {
            "fieldPath": "record.appstoreData.developerId",
            "columnName": "developerId",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "record.appstoreData.timelineEnabled",
            "columnName": "timelineEnabled",
            "affinity": "INTEGER"
          },
          {
            "fieldPath": "record.appstoreData.removeLink",
            "columnName": "removeLink",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "record.appstoreData.shareLink",
            "columnName": "shareLink",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "record.appstoreData.pbwLink",
            "columnName": "pbwLink",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "record.appstoreData.userToken",
            "columnName": "userToken",
            "affinity": "TEXT"
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        }
      },
      {
        "tableName": "LockerEntrySyncEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`recordId` TEXT NOT NULL, `transport` TEXT NOT NULL, `watchSynchHashcode` INTEGER NOT NULL, PRIMARY KEY(`recordId`, `transport`), FOREIGN KEY(`recordId`) REFERENCES `LockerEntryEntity`(`id`) ON UPDATE CASCADE ON DELETE CASCADE )",
        "fields": [
          {
            "fieldPath": "recordId",
            "columnName": "recordId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "transport",
            "columnName": "transport",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "watchSynchHashcode",
            "columnName": "watchSynchHashcode",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "recordId",
            "transport"
          ]
        },
        "foreignKeys": [
          {
            "table": "LockerEntryEntity",
            "onDelete": "CASCADE",
            "onUpdate": "CASCADE",
            "columns": [
              "recordId"
            ],
            "referencedColumns": [
              "id"
            ]
          }
        ]
      },
      {
        "tableName": "TimelineNotificationEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`recordHashcode` INTEGER NOT NULL, `deleted` INTEGER NOT NULL, `itemId` TEXT NOT NULL, `parentId` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `duration` INTEGER NOT NULL, `flags` TEXT NOT NULL, `layout` TEXT NOT NULL, `attributes` TEXT NOT NULL, `actions` TEXT NOT NULL, PRIMARY KEY(`itemId`))",
        "fields": [
          {
            "fieldPath": "recordHashcode",
            "columnName": "recordHashcode",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "deleted",
            "columnName": "deleted",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.itemId",
            "columnName": "itemId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.parentId",
            "columnName": "parentId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.timestamp",
            "columnName": "timestamp",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.content.duration",
            "columnName": "duration",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.content.flags",
            "columnName": "flags",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.layout",
            "columnName": "layout",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.attributes",
            "columnName": "attributes",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.actions",
            "columnName": "actions",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "itemId"
          ]
        }
      },
      {
        "tableName": "TimelineNotificationSyncEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`recordId` TEXT NOT NULL, `transport` TEXT NOT NULL, `watchSynchHashcode` INTEGER NOT NULL, PRIMARY KEY(`recordId`, `transport`), FOREIGN KEY(`recordId`) REFERENCES `TimelineNotificationEntity`(`itemId`) ON UPDATE CASCADE ON DELETE CASCADE )",
        "fields": [
          {
            "fieldPath": "recordId",
            "columnName": "recordId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "transport",
            "columnName": "transport",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "watchSynchHashcode",
            "columnName": "watchSynchHashcode",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "recordId",
            "transport"
          ]
        },
        "foreignKeys": [
          {
            "table": "TimelineNotificationEntity",
            "onDelete": "CASCADE",
            "onUpdate": "CASCADE",
            "columns": [
              "recordId"
            ],
            "referencedColumns": [
              "itemId"
            ]
          }
        ]
      },
      {
        "tableName": "TimelinePinEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`recordHashcode` INTEGER NOT NULL, `deleted` INTEGER NOT NULL, `itemId` TEXT NOT NULL, `backingId` TEXT, `parentId` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `duration` INTEGER NOT NULL, `flags` TEXT NOT NULL, `layout` TEXT NOT NULL, `attributes` TEXT NOT NULL, `actions` TEXT NOT NULL, PRIMARY KEY(`itemId`))",
        "fields": [
          {
            "fieldPath": "recordHashcode",
            "columnName": "recordHashcode",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "deleted",
            "columnName": "deleted",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.itemId",
            "columnName": "itemId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.backingId",
            "columnName": "backingId",
            "affinity": "TEXT"
          },
          {
            "fieldPath": "record.content.parentId",
            "columnName": "parentId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.timestamp",
            "columnName": "timestamp",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.content.duration",
            "columnName": "duration",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "record.content.flags",
            "columnName": "flags",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.layout",
            "columnName": "layout",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.attributes",
            "columnName": "attributes",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "record.content.actions",
            "columnName": "actions",
            "affinity": "TEXT",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "itemId"
          ]
        }
      },
      {
        "tableName": "TimelinePinSyncEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`recordId` TEXT NOT NULL, `transport` TEXT NOT NULL, `watchSynchHashcode` INTEGER NOT NULL, PRIMARY KEY(`recordId`, `transport`), FOREIGN KEY(`recordId`) REFERENCES `TimelinePinEntity`(`itemId`) ON UPDATE CASCADE ON DELETE CASCADE )",
        "fields": [
          {
            "fieldPath": "recordId",
            "columnName": "recordId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "transport",
            "columnName": "transport",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "watchSynchHashcode",
            "columnName": "watchSynchHashcode",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "recordId",
            "transport"
          ]
        },
        "foreignKeys": [
          {
            "table": "TimelinePinEntity",
            "onDelete": "CASCADE",
            "onUpdate": "CASCADE",
            "columns": [
              "recordId"
            ],
            "referencedColumns": [
              "itemId"
            ]
          }
        ]
      },
      {
        "tableName": "NotificationAppEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`packageName` TEXT NOT NULL, `name` TEXT NOT NULL, `muteState` TEXT NOT NULL, `channelGroups` TEXT NOT NULL, `stateUpdated` INTEGER NOT NULL, `lastNotified` INTEGER NOT NULL, PRIMARY KEY(`packageName`))",
        "fields": [
          {
            "fieldPath": "packageName",
            "columnName": "packageName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "muteState",
            "columnName": "muteState",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "channelGroups",
            "columnName": "channelGroups",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "stateUpdated",
            "columnName": "stateUpdated",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "lastNotified",
            "columnName": "lastNotified",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "packageName"
          ]
        }
      },
      {
        "tableName": "CalendarEntity",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `platformId` TEXT NOT NULL, `name` TEXT NOT NULL, `ownerName` TEXT NOT NULL, `ownerId` TEXT NOT NULL, `color` INTEGER NOT NULL, `enabled` INTEGER NOT NULL)",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "platformId",
            "columnName": "platformId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "ownerName",
            "columnName": "ownerName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "ownerId",
            "columnName": "ownerId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "color",
            "columnName": "color",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "enabled",
            "columnName": "enabled",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "id"
          ]
        },
        "indices": [
          {
            "name": "index_CalendarEntity_platformId",
            "unique": true,
            "columnNames": [
              "platformId"
            ],
            "orders": [],
            "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_CalendarEntity_platformId` ON `${TABLE_NAME}` (`platformId`)"
          }
        ]
      }
    ],
    "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, 'd03ffa3ea12d3b9c111057a24dfe41ac')"
    ]
  }
}