{ "formatVersion": 1, "database": { "version": 2, "identityHash": "68d8da27dde7a13bc063b8c3d8d34e5b", "entities": [ { "tableName": "Weight", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `weight` REAL NOT NULL, `timestamp` INTEGER NOT NULL, `source` TEXT NOT NULL, `bmi` REAL, `totalBodyWater` REAL, `muscles` REAL, `leanBodyMass` REAL, `bodyFat` REAL, `boneMass` REAL, `visceralFat` REAL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "weight", "columnName": "weight", "affinity": "REAL", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "source", "columnName": "source", "affinity": "TEXT", "notNull": true }, { "fieldPath": "bmi", "columnName": "bmi", "affinity": "REAL", "notNull": false }, { "fieldPath": "totalBodyWater", "columnName": "totalBodyWater", "affinity": "REAL", "notNull": false }, { "fieldPath": "muscles", "columnName": "muscles", "affinity": "REAL", "notNull": false }, { "fieldPath": "leanBodyMass", "columnName": "leanBodyMass", "affinity": "REAL", "notNull": false }, { "fieldPath": "bodyFat", "columnName": "bodyFat", "affinity": "REAL", "notNull": false }, { "fieldPath": "boneMass", "columnName": "boneMass", "affinity": "REAL", "notNull": false }, { "fieldPath": "visceralFat", "columnName": "visceralFat", "affinity": "REAL", "notNull": false } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [ { "name": "index_Weight_timestamp", "unique": false, "columnNames": [ "timestamp" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_Weight_timestamp` ON `${TABLE_NAME}` (`timestamp`)" } ], "foreignKeys": [] }, { "tableName": "Water", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `value` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `source` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "value", "columnName": "value", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "source", "columnName": "source", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [ { "name": "index_Water_timestamp", "unique": false, "columnNames": [ "timestamp" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_Water_timestamp` ON `${TABLE_NAME}` (`timestamp`)" } ], "foreignKeys": [] }, { "tableName": "Step", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `value` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `source` TEXT NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "value", "columnName": "value", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "source", "columnName": "source", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [ { "name": "index_Step_timestamp", "unique": false, "columnNames": [ "timestamp" ], "orders": [], "createSql": "CREATE INDEX IF NOT EXISTS `index_Step_timestamp` ON `${TABLE_NAME}` (`timestamp`)" } ], "foreignKeys": [] }, { "tableName": "Food", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL, `serving` TEXT NOT NULL, `quantity` REAL NOT NULL, `proteins` REAL NOT NULL, `carbohydrates` REAL NOT NULL, `fat` REAL NOT NULL, `energy` REAL NOT NULL, `image` TEXT, `timestamp` INTEGER NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": true }, { "fieldPath": "serving", "columnName": "serving", "affinity": "TEXT", "notNull": true }, { "fieldPath": "quantity", "columnName": "quantity", "affinity": "REAL", "notNull": true }, { "fieldPath": "proteins", "columnName": "proteins", "affinity": "REAL", "notNull": true }, { "fieldPath": "carbohydrates", "columnName": "carbohydrates", "affinity": "REAL", "notNull": true }, { "fieldPath": "fat", "columnName": "fat", "affinity": "REAL", "notNull": true }, { "fieldPath": "energy", "columnName": "energy", "affinity": "REAL", "notNull": true }, { "fieldPath": "image", "columnName": "image", "affinity": "TEXT", "notNull": false }, { "fieldPath": "timestamp", "columnName": "timestamp", "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, '68d8da27dde7a13bc063b8c3d8d34e5b')" ] } }