Revert "修复数据库字段错误"

This reverts commit 43a1a155b5.
This commit is contained in:
fisher
2022-08-05 00:07:20 +08:00
parent 7e3a2f2ad2
commit a65f2d27cc
197 changed files with 192 additions and 4497 deletions
@@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 51,
"identityHash": "0221c385ed7393f47afe9579d3106541",
"identityHash": "028c189be828501449b61b32ab47a36f",
"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, `example` TEXT, `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, `serialNumber` INTEGER NOT NULL, `enable` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
@@ -1377,12 +1377,6 @@
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "example",
"columnName": "example",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "serialNumber",
"columnName": "serialNumber",
@@ -1674,7 +1668,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, '0221c385ed7393f47afe9579d3106541')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '028c189be828501449b61b32ab47a36f')"
]
}
}
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,`example` TEXT DEFAULT 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, `serialNumber` INTEGER NOT NULL, `enable` INTEGER NOT NULL, PRIMARY KEY(`name`))",
"fields": [
{
"fieldPath": "name",
@@ -1099,12 +1099,6 @@
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "example",
"columnName": "example",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "serialNumber",
"columnName": "serialNumber",