{
  "formatVersion": 1,
  "database": {
    "version": 1,
    "identityHash": "4ed792d650202fc4706066585ce1061a",
    "entities": [
      {
        "tableName": "SmsMessages",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `userId` INTEGER NOT NULL, `campaignId` INTEGER NOT NULL, `simSlot` INTEGER NOT NULL, `recipientNumber` TEXT NOT NULL, `messageContent` TEXT NOT NULL, `priority` INTEGER NOT NULL, `isProcessed` INTEGER NOT NULL, `messageType` TEXT NOT NULL, `attachment` TEXT, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "userId",
            "columnName": "userId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "campaignId",
            "columnName": "campaignId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "simSlot",
            "columnName": "simSlot",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "recipientNumber",
            "columnName": "recipientNumber",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "messageContent",
            "columnName": "messageContent",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "priority",
            "columnName": "priority",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "isProcessed",
            "columnName": "isProcessed",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "messageType",
            "columnName": "messageType",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "attachment",
            "columnName": "attachment",
            "affinity": "TEXT",
            "notNull": false
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "UssdRequests",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `userId` INTEGER NOT NULL, `simSlot` INTEGER NOT NULL, `ussdCode` TEXT NOT NULL, `priority` INTEGER NOT NULL, `isProcessed` INTEGER NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "userId",
            "columnName": "userId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "simSlot",
            "columnName": "simSlot",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "ussdCode",
            "columnName": "ussdCode",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "priority",
            "columnName": "priority",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "isProcessed",
            "columnName": "isProcessed",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "Campaigns",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `campaignId` INTEGER NOT NULL, `isActive` INTEGER NOT NULL)",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "campaignId",
            "columnName": "campaignId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "isActive",
            "columnName": "isActive",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "ReceivedMessages",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `messageId` INTEGER NOT NULL, `senderNumber` TEXT NOT NULL, `messageContent` TEXT NOT NULL, `simSlot` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `receivedAt` INTEGER NOT NULL, `isSynced` INTEGER NOT NULL)",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "messageId",
            "columnName": "messageId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "senderNumber",
            "columnName": "senderNumber",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "messageContent",
            "columnName": "messageContent",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "simSlot",
            "columnName": "simSlot",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "timestamp",
            "columnName": "timestamp",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "receivedAt",
            "columnName": "receivedAt",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "isSynced",
            "columnName": "isSynced",
            "affinity": "INTEGER",
            "notNull": true
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "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, '4ed792d650202fc4706066585ce1061a')"
    ]
  }
}