Android-Tutorial-Test-ShowCase/app/schemas/org.fnives.test.showcase.storage.LocalDatabase/1.json

34 lines
No EOL
951 B
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "36d840e89667f36e0c265593da36fe23",
"entities": [
{
"tableName": "FavouriteEntity",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`contentId` TEXT NOT NULL, PRIMARY KEY(`contentId`))",
"fields": [
{
"fieldPath": "contentId",
"columnName": "contentId",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"contentId"
],
"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, '36d840e89667f36e0c265593da36fe23')"
]
}
}