{ "formatVersion": 1, "database": { "version": 1, "identityHash": "6787910fab07093f4603d57f499cae22", "entities": [ { "tableName": "cc_dev_version", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `recipe_update_time` INTEGER)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "recipeUpdateTime", "columnName": "recipe_update_time", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "user_info", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`userId` INTEGER NOT NULL, `userName` TEXT, `userAvatar` TEXT, `userGender` TEXT, `userAge` INTEGER NOT NULL, PRIMARY KEY(`userId`))", "fields": [ { "fieldPath": "userId", "columnName": "userId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "userName", "columnName": "userName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "userAvatar", "columnName": "userAvatar", "affinity": "TEXT", "notNull": false }, { "fieldPath": "userGender", "columnName": "userGender", "affinity": "TEXT", "notNull": false }, { "fieldPath": "userAge", "columnName": "userAge", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "userId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "user_favorite_recipes", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`userId` INTEGER NOT NULL, `favoriteRecipesId` TEXT NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", "fields": [ { "fieldPath": "userId", "columnName": "userId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "favoriteRecipesId", "columnName": "favoriteRecipesId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "user_history_recipes", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`userId` INTEGER NOT NULL, `historyRecipesId` TEXT NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", "fields": [ { "fieldPath": "userId", "columnName": "userId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "historyRecipesId", "columnName": "historyRecipesId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "user_tag", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`userId` INTEGER NOT NULL, `recipesId` TEXT NOT NULL, `starCount` INTEGER NOT NULL, `daily` TEXT NOT NULL, PRIMARY KEY(`recipesId`))", "fields": [ { "fieldPath": "userId", "columnName": "userId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "recipesId", "columnName": "recipesId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "starCount", "columnName": "starCount", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "daily", "columnName": "daily", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "columnNames": [ "recipesId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "user_online_recipes", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`userId` INTEGER NOT NULL, `onLineRecipesId` TEXT NOT NULL, `id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)", "fields": [ { "fieldPath": "userId", "columnName": "userId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "onLineRecipesId", "columnName": "onLineRecipesId", "affinity": "TEXT", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "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, '6787910fab07093f4603d57f499cae22')" ] } }