{
  "formatVersion": 1,
  "database": {
    "version": 1,
    "identityHash": "d01905f76d0ec058de612ea099ad49ea",
    "entities": [
      {
        "tableName": "work_orders",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `woNumber` TEXT NOT NULL, `type` TEXT NOT NULL, `status` TEXT NOT NULL, `priority` TEXT NOT NULL, `title` TEXT NOT NULL, `description` TEXT, `locationId` TEXT, `locationName` TEXT, `zone` TEXT, `assetId` TEXT, `assetCode` TEXT, `assetName` TEXT, `categoryId` TEXT, `categoryName` TEXT, `reporterName` TEXT, `slaLabel` TEXT, `estimatedMinutes` INTEGER, `dueDate` INTEGER, `startedAt` INTEGER, `doneAt` INTEGER, `beforePhotoUrl` TEXT, `afterPhotoUrl` TEXT, `repairNote` TEXT, `assetLinked` INTEGER NOT NULL, `updatedAt` INTEGER NOT NULL, `pendingSync` INTEGER NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "woNumber",
            "columnName": "woNumber",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "type",
            "columnName": "type",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "status",
            "columnName": "status",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "priority",
            "columnName": "priority",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "description",
            "columnName": "description",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "locationId",
            "columnName": "locationId",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "locationName",
            "columnName": "locationName",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "zone",
            "columnName": "zone",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "assetId",
            "columnName": "assetId",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "assetCode",
            "columnName": "assetCode",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "assetName",
            "columnName": "assetName",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "categoryId",
            "columnName": "categoryId",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "categoryName",
            "columnName": "categoryName",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "reporterName",
            "columnName": "reporterName",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "slaLabel",
            "columnName": "slaLabel",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "estimatedMinutes",
            "columnName": "estimatedMinutes",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "dueDate",
            "columnName": "dueDate",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "startedAt",
            "columnName": "startedAt",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "doneAt",
            "columnName": "doneAt",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "beforePhotoUrl",
            "columnName": "beforePhotoUrl",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "afterPhotoUrl",
            "columnName": "afterPhotoUrl",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "repairNote",
            "columnName": "repairNote",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "assetLinked",
            "columnName": "assetLinked",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "updatedAt",
            "columnName": "updatedAt",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pendingSync",
            "columnName": "pendingSync",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "pending_mutations",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `type` TEXT NOT NULL, `localGroupId` TEXT NOT NULL, `targetId` TEXT, `payloadJson` TEXT NOT NULL, `status` TEXT NOT NULL, `attempts` INTEGER NOT NULL, `lastError` TEXT, `createdAt` INTEGER NOT NULL)",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "type",
            "columnName": "type",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "localGroupId",
            "columnName": "localGroupId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "targetId",
            "columnName": "targetId",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "payloadJson",
            "columnName": "payloadJson",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "status",
            "columnName": "status",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "attempts",
            "columnName": "attempts",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "lastError",
            "columnName": "lastError",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "createdAt",
            "columnName": "createdAt",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "photo_queue",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `localGroupId` TEXT NOT NULL, `filePath` TEXT NOT NULL, `role` TEXT NOT NULL, `status` TEXT NOT NULL, `remoteUrl` TEXT, `createdAt` INTEGER NOT NULL)",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "localGroupId",
            "columnName": "localGroupId",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "filePath",
            "columnName": "filePath",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "role",
            "columnName": "role",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "status",
            "columnName": "status",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "remoteUrl",
            "columnName": "remoteUrl",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "createdAt",
            "columnName": "createdAt",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "notifications",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `type` TEXT NOT NULL, `severity` TEXT NOT NULL, `title` TEXT NOT NULL, `body` TEXT, `link` TEXT, `propertyName` TEXT, `readAt` INTEGER, `createdAt` INTEGER NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "type",
            "columnName": "type",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "severity",
            "columnName": "severity",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "body",
            "columnName": "body",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "link",
            "columnName": "link",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "propertyName",
            "columnName": "propertyName",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "readAt",
            "columnName": "readAt",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "createdAt",
            "columnName": "createdAt",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      }
    ],
    "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, 'd01905f76d0ec058de612ea099ad49ea')"
    ]
  }
}