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

52 lines
1.4 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "c24a63fb1161cd6e8a14736c19dc2aec",
"entities": [
{
"tableName": "reward",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `color` TEXT NOT NULL, `icon` TEXT NOT NULL, `tokenAmount` INTEGER NOT NULL, PRIMARY KEY(`name`))",
"fields": [
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "color",
"columnName": "color",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "icon",
"columnName": "icon",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "tokenAmount",
"columnName": "tokenAmount",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"name"
]
},
"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, 'c24a63fb1161cd6e8a14736c19dc2aec')"
]
}
}