{ "formatVersion": 1, "database": { "version": 5, "identityHash": "1ba19eb73959eb97a54f2d6b51921dde", "entities": [ { "tableName": "Conversation", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`title` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", "fields": [ { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] } }, { "tableName": "Message", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`conversationId` INTEGER NOT NULL, `text` TEXT NOT NULL, `role` TEXT NOT NULL, `imagePaths` TEXT NOT NULL, `hasAudio` INTEGER NOT NULL, `missingAppPackage` TEXT, `a2ui` TEXT, `a2uiData` TEXT, `timestamp` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", "fields": [ { "fieldPath": "conversationId", "columnName": "conversationId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "text", "columnName": "text", "affinity": "TEXT", "notNull": true }, { "fieldPath": "role", "columnName": "role", "affinity": "TEXT", "notNull": true }, { "fieldPath": "imagePaths", "columnName": "imagePaths", "affinity": "TEXT", "notNull": true }, { "fieldPath": "hasAudio", "columnName": "hasAudio", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "missingAppPackage", "columnName": "missingAppPackage", "affinity": "TEXT" }, { "fieldPath": "a2ui", "columnName": "a2ui", "affinity": "TEXT" }, { "fieldPath": "a2uiData", "columnName": "a2uiData", "affinity": "TEXT" }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] } }, { "tableName": "Memory", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`content` TEXT NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", "fields": [ { "fieldPath": "content", "columnName": "content", "affinity": "TEXT", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] } }, { "tableName": "PendingToolCall", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `conversationId` INTEGER NOT NULL, `toolName` TEXT NOT NULL, `argsJson` TEXT NOT NULL, `summary` TEXT NOT NULL, `createdAt` INTEGER NOT NULL, `expiresAt` INTEGER NOT NULL, `consumed` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "conversationId", "columnName": "conversationId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "toolName", "columnName": "toolName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "argsJson", "columnName": "argsJson", "affinity": "TEXT", "notNull": true }, { "fieldPath": "summary", "columnName": "summary", "affinity": "TEXT", "notNull": true }, { "fieldPath": "createdAt", "columnName": "createdAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "expiresAt", "columnName": "expiresAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "consumed", "columnName": "consumed", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] } }, { "tableName": "AuditRecord", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`toolName` TEXT NOT NULL, `argsSummary` TEXT NOT NULL, `outcome` TEXT NOT NULL, `timestamp` INTEGER NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", "fields": [ { "fieldPath": "toolName", "columnName": "toolName", "affinity": "TEXT", "notNull": true }, { "fieldPath": "argsSummary", "columnName": "argsSummary", "affinity": "TEXT", "notNull": true }, { "fieldPath": "outcome", "columnName": "outcome", "affinity": "TEXT", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] } } ], "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, '1ba19eb73959eb97a54f2d6b51921dde')" ] } }