修复数据库字段错误

This commit is contained in:
fisher
2022-08-04 23:51:26 +08:00
parent 9203a32ada
commit 2a7a2f6c13
197 changed files with 4497 additions and 192 deletions
@@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 51,
"identityHash": "028c189be828501449b61b32ab47a36f",
"identityHash": "0221c385ed7393f47afe9579d3106541",
"entities": [
{
"tableName": "books",
@@ -1357,7 +1357,7 @@
},
{
"tableName": "txtTocRules",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `rule` TEXT NOT NULL, `serialNumber` INTEGER NOT NULL, `enable` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `rule` TEXT NOT NULL, `example` TEXT, `serialNumber` INTEGER NOT NULL, `enable` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
@@ -1377,6 +1377,12 @@
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "example",
"columnName": "example",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "serialNumber",
"columnName": "serialNumber",
@@ -1668,7 +1674,7 @@
"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, '028c189be828501449b61b32ab47a36f')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0221c385ed7393f47afe9579d3106541')"
]
}
}
File diff suppressed because it is too large Load Diff
@@ -1085,7 +1085,7 @@
},
{
"tableName": "txtTocRules",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `rule` TEXT NOT NULL, `serialNumber` INTEGER NOT NULL, `enable` INTEGER NOT NULL, PRIMARY KEY(`name`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `rule` TEXT NOT NULL,`example` TEXT DEFAULT NULL, `serialNumber` INTEGER NOT NULL, `enable` INTEGER NOT NULL, PRIMARY KEY(`name`))",
"fields": [
{
"fieldPath": "name",
@@ -1099,6 +1099,12 @@
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "example",
"columnName": "example",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "serialNumber",
"columnName": "serialNumber",