{ "formatVersion": 1, "database": { "version": 2, "identityHash": "cf2039a505c0b4236bf1f858cc1de4e3", "entities": [ { "tableName": "mood_records", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `emotion` TEXT NOT NULL, `moodIntensity` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `textContent` TEXT, `imagePath` TEXT, `isFavorite` INTEGER NOT NULL, `shakeDuration` REAL NOT NULL, `maxAcceleration` REAL NOT NULL, `deviceModel` TEXT)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "emotion", "columnName": "emotion", "affinity": "TEXT", "notNull": true }, { "fieldPath": "moodIntensity", "columnName": "moodIntensity", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "textContent", "columnName": "textContent", "affinity": "TEXT", "notNull": false }, { "fieldPath": "imagePath", "columnName": "imagePath", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isFavorite", "columnName": "isFavorite", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "shakeDuration", "columnName": "shakeDuration", "affinity": "REAL", "notNull": true }, { "fieldPath": "maxAcceleration", "columnName": "maxAcceleration", "affinity": "REAL", "notNull": true }, { "fieldPath": "deviceModel", "columnName": "deviceModel", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "user_config", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `nickname` TEXT, `avatarPath` TEXT, `isDarkMode` INTEGER NOT NULL, `isSoundEnabled` INTEGER NOT NULL, `isVibrationEnabled` INTEGER NOT NULL, `isReminderEnabled` INTEGER NOT NULL, `reminderHour` INTEGER NOT NULL, `reminderMinute` INTEGER NOT NULL, `appVersion` TEXT NOT NULL, `dataVersion` INTEGER NOT NULL, `firstUseTime` INTEGER NOT NULL, `totalUsageCount` INTEGER NOT NULL, `lastUsedTime` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "nickname", "columnName": "nickname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "avatarPath", "columnName": "avatarPath", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isDarkMode", "columnName": "isDarkMode", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isSoundEnabled", "columnName": "isSoundEnabled", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isVibrationEnabled", "columnName": "isVibrationEnabled", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isReminderEnabled", "columnName": "isReminderEnabled", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reminderHour", "columnName": "reminderHour", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reminderMinute", "columnName": "reminderMinute", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "appVersion", "columnName": "appVersion", "affinity": "TEXT", "notNull": true }, { "fieldPath": "dataVersion", "columnName": "dataVersion", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "firstUseTime", "columnName": "firstUseTime", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "totalUsageCount", "columnName": "totalUsageCount", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "lastUsedTime", "columnName": "lastUsedTime", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "user_config_entries", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `config_key` TEXT NOT NULL, `config_value` TEXT NOT NULL, `updated_at` INTEGER NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "configKey", "columnName": "config_key", "affinity": "TEXT", "notNull": true }, { "fieldPath": "configValue", "columnName": "config_value", "affinity": "TEXT", "notNull": true }, { "fieldPath": "updatedAt", "columnName": "updated_at", "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, 'cf2039a505c0b4236bf1f858cc1de4e3')" ] } }