46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
|
{
|
||
|
"formatVersion": 1,
|
||
|
"database": {
|
||
|
"version": 1,
|
||
|
"identityHash": "44cb07b76e6b8abfaa988e1d3696a347",
|
||
|
"entities": [
|
||
|
{
|
||
|
"tableName": "HistoryEntry",
|
||
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uri` TEXT NOT NULL, `title` TEXT, `lastVisit` INTEGER NOT NULL, PRIMARY KEY(`uri`))",
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldPath": "uri",
|
||
|
"columnName": "uri",
|
||
|
"affinity": "TEXT",
|
||
|
"notNull": true
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "title",
|
||
|
"columnName": "title",
|
||
|
"affinity": "TEXT",
|
||
|
"notNull": false
|
||
|
},
|
||
|
{
|
||
|
"fieldPath": "lastVisit",
|
||
|
"columnName": "lastVisit",
|
||
|
"affinity": "INTEGER",
|
||
|
"notNull": true
|
||
|
}
|
||
|
],
|
||
|
"primaryKey": {
|
||
|
"columnNames": [
|
||
|
"uri"
|
||
|
],
|
||
|
"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, '44cb07b76e6b8abfaa988e1d3696a347')"
|
||
|
]
|
||
|
}
|
||
|
}
|