Files
AndroidJetpack/Delish/shared/schemas/com.elbehiry.shared.data.db.DelishDataBase/1.json
T
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

172 lines
5.3 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "aaeb156a1e40ab9167bab71a36e9e437",
"entities": [
{
"tableName": "recipes",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`recipeId` INTEGER NOT NULL, `recipeTitle` TEXT NOT NULL, `sustainable` INTEGER NOT NULL, `glutenFree` INTEGER NOT NULL, `veryPopular` INTEGER NOT NULL, `vegetarian` INTEGER NOT NULL, `dairyFree` INTEGER NOT NULL, `veryHealthy` INTEGER NOT NULL, `vegan` INTEGER NOT NULL, `cheap` INTEGER NOT NULL, `spoonScore` REAL NOT NULL, `aggregateLikes` INTEGER NOT NULL, `sourceName` TEXT NOT NULL, `creditsText` TEXT NOT NULL, `readyInMinutes` INTEGER NOT NULL, `image` TEXT NOT NULL, `percentCarbs` REAL NOT NULL, `percentProtein` REAL NOT NULL, `percentFat` REAL NOT NULL, `nutrientsAmount` REAL NOT NULL, `nutrientsName` TEXT NOT NULL, `ingredientOriginalString` TEXT NOT NULL, `steps` TEXT NOT NULL, `servings` INTEGER NOT NULL, PRIMARY KEY(`recipeId`))",
"fields": [
{
"fieldPath": "recipeId",
"columnName": "recipeId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "recipeTitle",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "sustainable",
"columnName": "sustainable",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "glutenFree",
"columnName": "glutenFree",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "veryPopular",
"columnName": "veryPopular",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "vegetarian",
"columnName": "vegetarian",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "dairyFree",
"columnName": "dairyFree",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "veryHealthy",
"columnName": "veryHealthy",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "vegan",
"columnName": "vegan",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "cheap",
"columnName": "cheap",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "spoonScore",
"columnName": "spoonScore",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "aggregateLikes",
"columnName": "aggregateLikes",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "sourceName",
"columnName": "sourceName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "creditsText",
"columnName": "creditsText",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "readyInMinutes",
"columnName": "readyInMinutes",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "image",
"columnName": "image",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "percentCarbs",
"columnName": "percentCarbs",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "percentProtein",
"columnName": "percentProtein",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "percentFat",
"columnName": "percentFat",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "nutrientsAmount",
"columnName": "nutrientsAmount",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "nutrientsName",
"columnName": "nutrientsName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "ingredientOriginalString",
"columnName": "ingredientOriginalString",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "steps",
"columnName": "steps",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "servings",
"columnName": "servings",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"recipeId"
],
"autoGenerate": false
},
"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, 'aaeb156a1e40ab9167bab71a36e9e437')"
]
}
}