{
  "formatVersion": 1,
  "database": {
    "version": 3,
    "identityHash": "6a940f719e8dd56ea5c196c152f1e536",
    "entities": [
      {
        "tableName": "users",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `firstName` TEXT NOT NULL, `lastName` TEXT NOT NULL, `isOnline` INTEGER NOT NULL, `isOnlineMobile` INTEGER NOT NULL, `onlineAppId` INTEGER, `lastSeen` INTEGER, `lastSeenStatus` TEXT, `birthday` TEXT, `photo50` TEXT, `photo100` TEXT, `photo200` TEXT, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "firstName",
            "columnName": "firstName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "lastName",
            "columnName": "lastName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "isOnline",
            "columnName": "isOnline",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "isOnlineMobile",
            "columnName": "isOnlineMobile",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "onlineAppId",
            "columnName": "onlineAppId",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "lastSeen",
            "columnName": "lastSeen",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "lastSeenStatus",
            "columnName": "lastSeenStatus",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "birthday",
            "columnName": "birthday",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo50",
            "columnName": "photo50",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo100",
            "columnName": "photo100",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo200",
            "columnName": "photo200",
            "affinity": "TEXT",
            "notNull": false
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "groups",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `screenName` TEXT NOT NULL, `photo50` TEXT, `photo100` TEXT, `photo200` TEXT, `membersCount` INTEGER, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "screenName",
            "columnName": "screenName",
            "affinity": "TEXT",
            "notNull": true
          },
          {
            "fieldPath": "photo50",
            "columnName": "photo50",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo100",
            "columnName": "photo100",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo200",
            "columnName": "photo200",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "membersCount",
            "columnName": "membersCount",
            "affinity": "INTEGER",
            "notNull": false
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "messages",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `text` TEXT, `isOut` INTEGER NOT NULL, `peerId` INTEGER NOT NULL, `fromId` INTEGER NOT NULL, `date` INTEGER NOT NULL, `randomId` INTEGER NOT NULL, `action` TEXT, `actionMemberId` INTEGER, `actionText` TEXT, `actionConversationMessageId` INTEGER, `actionMessage` TEXT, `updateTime` INTEGER, `important` INTEGER NOT NULL, `forwardIds` TEXT, `attachments` TEXT, `replyMessageId` INTEGER, `geoType` TEXT, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "text",
            "columnName": "text",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "isOut",
            "columnName": "isOut",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "peerId",
            "columnName": "peerId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "fromId",
            "columnName": "fromId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "date",
            "columnName": "date",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "randomId",
            "columnName": "randomId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "action",
            "columnName": "action",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "actionMemberId",
            "columnName": "actionMemberId",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "actionText",
            "columnName": "actionText",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "actionConversationMessageId",
            "columnName": "actionConversationMessageId",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "actionMessage",
            "columnName": "actionMessage",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "updateTime",
            "columnName": "updateTime",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "important",
            "columnName": "important",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "forwardIds",
            "columnName": "forwardIds",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "attachments",
            "columnName": "attachments",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "replyMessageId",
            "columnName": "replyMessageId",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "geoType",
            "columnName": "geoType",
            "affinity": "TEXT",
            "notNull": false
          }
        ],
        "primaryKey": {
          "autoGenerate": false,
          "columnNames": [
            "id"
          ]
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "conversations",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `localId` INTEGER NOT NULL, `ownerId` INTEGER, `title` TEXT, `photo50` TEXT, `photo100` TEXT, `photo200` TEXT, `isPhantom` INTEGER NOT NULL, `lastConversationMessageId` INTEGER NOT NULL, `inReadCmId` INTEGER NOT NULL, `outReadCmId` INTEGER NOT NULL, `inRead` INTEGER NOT NULL, `outRead` INTEGER NOT NULL, `lastMessageId` INTEGER, `unreadCount` INTEGER NOT NULL, `membersCount` INTEGER, `canChangePin` INTEGER NOT NULL, `canChangeInfo` INTEGER NOT NULL, `majorId` INTEGER NOT NULL, `minorId` INTEGER NOT NULL, `pinnedMessageId` INTEGER, `peerType` TEXT NOT NULL, PRIMARY KEY(`id`))",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "id",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "localId",
            "columnName": "localId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "ownerId",
            "columnName": "ownerId",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "title",
            "columnName": "title",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo50",
            "columnName": "photo50",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo100",
            "columnName": "photo100",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "photo200",
            "columnName": "photo200",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "isPhantom",
            "columnName": "isPhantom",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "lastConversationMessageId",
            "columnName": "lastConversationMessageId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "inReadCmId",
            "columnName": "inReadCmId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "outReadCmId",
            "columnName": "outReadCmId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "inRead",
            "columnName": "inRead",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "outRead",
            "columnName": "outRead",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "lastMessageId",
            "columnName": "lastMessageId",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "unreadCount",
            "columnName": "unreadCount",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "membersCount",
            "columnName": "membersCount",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "canChangePin",
            "columnName": "canChangePin",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "canChangeInfo",
            "columnName": "canChangeInfo",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "majorId",
            "columnName": "majorId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "minorId",
            "columnName": "minorId",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "pinnedMessageId",
            "columnName": "pinnedMessageId",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "peerType",
            "columnName": "peerType",
            "affinity": "TEXT",
            "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, '6a940f719e8dd56ea5c196c152f1e536')"
    ]
  }
}