{ "formatVersion": 1, "database": { "version": 3, "identityHash": "4ce414769e41a0eef207fb803988527d", "entities": [ { "tableName": "rcs_conversation", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`remoteId` TEXT NOT NULL, `isGroup` INTEGER NOT NULL, `name` TEXT, `participants` TEXT NOT NULL, `unreadCount` INTEGER NOT NULL, `lastMessageTimestamp` INTEGER NOT NULL, PRIMARY KEY(`remoteId`))", "fields": [ { "fieldPath": "remoteId", "columnName": "remoteId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "isGroup", "columnName": "isGroup", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT" }, { "fieldPath": "participants", "columnName": "participants", "affinity": "TEXT", "notNull": true }, { "fieldPath": "unreadCount", "columnName": "unreadCount", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "lastMessageTimestamp", "columnName": "lastMessageTimestamp", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "remoteId" ] } }, { "tableName": "rcs_cached_message", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`messageId` TEXT NOT NULL, `conversationId` TEXT NOT NULL, `body` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `outgoing` INTEGER NOT NULL, `senderId` TEXT NOT NULL, `ftUrl` TEXT, `ftMime` TEXT, `status` INTEGER NOT NULL, `imdnId` TEXT NOT NULL, PRIMARY KEY(`messageId`))", "fields": [ { "fieldPath": "messageId", "columnName": "messageId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "conversationId", "columnName": "conversationId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "body", "columnName": "body", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "outgoing", "columnName": "outgoing", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "senderId", "columnName": "senderId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "ftUrl", "columnName": "ftUrl", "affinity": "TEXT" }, { "fieldPath": "ftMime", "columnName": "ftMime", "affinity": "TEXT" }, { "fieldPath": "status", "columnName": "status", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "imdnId", "columnName": "imdnId", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "messageId" ] } }, { "tableName": "rcs_mls_identity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`e164` TEXT NOT NULL, `identity` BLOB NOT NULL, `updatedAt` INTEGER NOT NULL, `verified` INTEGER NOT NULL, PRIMARY KEY(`e164`))", "fields": [ { "fieldPath": "e164", "columnName": "e164", "affinity": "TEXT", "notNull": true }, { "fieldPath": "identity", "columnName": "identity", "affinity": "BLOB", "notNull": true }, { "fieldPath": "updatedAt", "columnName": "updatedAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verified", "columnName": "verified", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "e164" ] } }, { "tableName": "rcs_mls_group", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`groupIdHex` TEXT NOT NULL, `conversationId` TEXT NOT NULL, `storage` BLOB NOT NULL, `updatedAt` INTEGER NOT NULL, `members` TEXT NOT NULL, PRIMARY KEY(`groupIdHex`))", "fields": [ { "fieldPath": "groupIdHex", "columnName": "groupIdHex", "affinity": "TEXT", "notNull": true }, { "fieldPath": "conversationId", "columnName": "conversationId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "storage", "columnName": "storage", "affinity": "BLOB", "notNull": true }, { "fieldPath": "updatedAt", "columnName": "updatedAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "members", "columnName": "members", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "groupIdHex" ] } }, { "tableName": "rcs_outbox", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`messageId` TEXT NOT NULL, `conversationId` TEXT NOT NULL, `kind` TEXT NOT NULL, `body` TEXT NOT NULL, `attachments` TEXT NOT NULL, `attempts` INTEGER NOT NULL, `nextRetryMs` INTEGER NOT NULL, `expiryMs` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL, PRIMARY KEY(`messageId`))", "fields": [ { "fieldPath": "messageId", "columnName": "messageId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "conversationId", "columnName": "conversationId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "kind", "columnName": "kind", "affinity": "TEXT", "notNull": true }, { "fieldPath": "body", "columnName": "body", "affinity": "TEXT", "notNull": true }, { "fieldPath": "attachments", "columnName": "attachments", "affinity": "TEXT", "notNull": true }, { "fieldPath": "attempts", "columnName": "attempts", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "nextRetryMs", "columnName": "nextRetryMs", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "expiryMs", "columnName": "expiryMs", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "createdAt", "columnName": "createdAt", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "messageId" ] } } ], "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, '4ce414769e41a0eef207fb803988527d')" ] } }