{ "formatVersion": 1, "database": { "version": 3, "identityHash": "efaa234effa3d50d4962a5daaeb3fe3c", "entities": [ { "tableName": "Todo", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT NOT NULL, `notes` TEXT NOT NULL, `done` INTEGER NOT NULL, `position` REAL NOT NULL, `dueAt` INTEGER, `createdAt` INTEGER NOT NULL, `syncId` TEXT NOT NULL, `updatedAt` INTEGER NOT NULL, `deleted` INTEGER NOT NULL, `parentSyncId` TEXT, `listSyncId` TEXT, `section` TEXT, `tags` TEXT NOT NULL, `priority` INTEGER NOT NULL, `dueAllDay` INTEGER NOT NULL, `startAt` INTEGER, `recurrence` TEXT, `reminderAt` INTEGER, `completedAt` INTEGER, `estimateMinutes` INTEGER, `blockedBy` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": true }, { "fieldPath": "notes", "columnName": "notes", "affinity": "TEXT", "notNull": true }, { "fieldPath": "done", "columnName": "done", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "position", "columnName": "position", "affinity": "REAL", "notNull": true }, { "fieldPath": "dueAt", "columnName": "dueAt", "affinity": "INTEGER" }, { "fieldPath": "createdAt", "columnName": "createdAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "syncId", "columnName": "syncId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "updatedAt", "columnName": "updatedAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "deleted", "columnName": "deleted", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "parentSyncId", "columnName": "parentSyncId", "affinity": "TEXT" }, { "fieldPath": "listSyncId", "columnName": "listSyncId", "affinity": "TEXT" }, { "fieldPath": "section", "columnName": "section", "affinity": "TEXT" }, { "fieldPath": "tags", "columnName": "tags", "affinity": "TEXT", "notNull": true }, { "fieldPath": "priority", "columnName": "priority", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "dueAllDay", "columnName": "dueAllDay", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "startAt", "columnName": "startAt", "affinity": "INTEGER" }, { "fieldPath": "recurrence", "columnName": "recurrence", "affinity": "TEXT" }, { "fieldPath": "reminderAt", "columnName": "reminderAt", "affinity": "INTEGER" }, { "fieldPath": "completedAt", "columnName": "completedAt", "affinity": "INTEGER" }, { "fieldPath": "estimateMinutes", "columnName": "estimateMinutes", "affinity": "INTEGER" }, { "fieldPath": "blockedBy", "columnName": "blockedBy", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [ { "name": "index_Todo_syncId", "unique": false, "columnNames": [ "syncId" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_Todo_syncId` ON `${TABLE_NAME}` (`syncId`)" }, { "name": "index_Todo_listSyncId", "unique": false, "columnNames": [ "listSyncId" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_Todo_listSyncId` ON `${TABLE_NAME}` (`listSyncId`)" }, { "name": "index_Todo_parentSyncId", "unique": false, "columnNames": [ "parentSyncId" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_Todo_parentSyncId` ON `${TABLE_NAME}` (`parentSyncId`)" } ] }, { "tableName": "TodoList", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `syncId` TEXT NOT NULL, `name` TEXT NOT NULL, `color` INTEGER, `icon` TEXT, `position` REAL NOT NULL, `sections` TEXT NOT NULL, `createdAt` INTEGER NOT NULL, `updatedAt` INTEGER NOT NULL, `deleted` INTEGER NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "syncId", "columnName": "syncId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": true }, { "fieldPath": "color", "columnName": "color", "affinity": "INTEGER" }, { "fieldPath": "icon", "columnName": "icon", "affinity": "TEXT" }, { "fieldPath": "position", "columnName": "position", "affinity": "REAL", "notNull": true }, { "fieldPath": "sections", "columnName": "sections", "affinity": "TEXT", "notNull": true }, { "fieldPath": "createdAt", "columnName": "createdAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "updatedAt", "columnName": "updatedAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "deleted", "columnName": "deleted", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [ { "name": "index_TodoList_syncId", "unique": false, "columnNames": [ "syncId" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_TodoList_syncId` ON `${TABLE_NAME}` (`syncId`)" } ] }, { "tableName": "SyncSnapshot", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`syncId` TEXT NOT NULL, `kind` TEXT NOT NULL, `contentHash` TEXT NOT NULL, `localUpdatedAt` INTEGER NOT NULL, `remoteModified` INTEGER NOT NULL, `lastSyncedAt` INTEGER NOT NULL, PRIMARY KEY(`syncId`))", "fields": [ { "fieldPath": "syncId", "columnName": "syncId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "kind", "columnName": "kind", "affinity": "TEXT", "notNull": true }, { "fieldPath": "contentHash", "columnName": "contentHash", "affinity": "TEXT", "notNull": true }, { "fieldPath": "localUpdatedAt", "columnName": "localUpdatedAt", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "remoteModified", "columnName": "remoteModified", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "lastSyncedAt", "columnName": "lastSyncedAt", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "syncId" ] } } ], "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, 'efaa234effa3d50d4962a5daaeb3fe3c')" ] } }