Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

52 lines
1.4 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "8639954dceb4e5574f8499ce64e09f8a",
"entities": [
{
"tableName": "notes",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`noteId` TEXT NOT NULL, `title` TEXT NOT NULL, `note` TEXT NOT NULL, `created` INTEGER NOT NULL, PRIMARY KEY(`noteId`))",
"fields": [
{
"fieldPath": "noteId",
"columnName": "noteId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "note",
"columnName": "note",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "created",
"columnName": "created",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"noteId"
],
"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, '8639954dceb4e5574f8499ce64e09f8a')"
]
}
}