ucatalog-android/app/schemas/ru.volgorobot.vrcatalog.additional.AppDatabase/1.json

46 lines
1.3 KiB
JSON
Raw Permalink Normal View History

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "b484b5731c959dea19f42d92a1fccfcd",
"entities": [
{
"tableName": "favorites",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `itemID` INTEGER NOT NULL, `itemName` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "itemID",
"columnName": "itemID",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "itemName",
"columnName": "itemName",
"affinity": "TEXT",
"notNull": false
}
],
"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, \"b484b5731c959dea19f42d92a1fccfcd\")"
]
}
}