|
|
@ -2,7 +2,7 @@ |
|
|
|
"formatVersion": 1, |
|
|
|
"formatVersion": 1, |
|
|
|
"database": { |
|
|
|
"database": { |
|
|
|
"version": 52, |
|
|
|
"version": 52, |
|
|
|
"identityHash": "0221c385ed7393f47afe9579d3106541", |
|
|
|
"identityHash": "c55dac79aa9cc3dcdb72e91da4282005", |
|
|
|
"entities": [ |
|
|
|
"entities": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"tableName": "books", |
|
|
|
"tableName": "books", |
|
|
@ -208,10 +208,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"bookUrl" |
|
|
|
"bookUrl" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -263,17 +263,17 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"groupId" |
|
|
|
"groupId" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"tableName": "book_sources", |
|
|
|
"tableName": "book_sources", |
|
|
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`bookSourceUrl` TEXT NOT NULL, `bookSourceName` TEXT NOT NULL, `bookSourceGroup` TEXT, `bookSourceType` INTEGER NOT NULL, `bookUrlPattern` TEXT, `customOrder` INTEGER NOT NULL, `enabled` INTEGER NOT NULL, `enabledExplore` INTEGER NOT NULL, `enabledCookieJar` INTEGER DEFAULT 0, `concurrentRate` TEXT, `header` TEXT, `loginUrl` TEXT, `loginUi` TEXT, `loginCheckJs` TEXT, `bookSourceComment` TEXT, `variableComment` TEXT, `lastUpdateTime` INTEGER NOT NULL, `respondTime` INTEGER NOT NULL, `weight` INTEGER NOT NULL, `exploreUrl` TEXT, `ruleExplore` TEXT, `searchUrl` TEXT, `ruleSearch` TEXT, `ruleBookInfo` TEXT, `ruleToc` TEXT, `ruleContent` TEXT, PRIMARY KEY(`bookSourceUrl`))", |
|
|
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`bookSourceUrl` TEXT NOT NULL, `bookSourceName` TEXT NOT NULL, `bookSourceGroup` TEXT, `bookSourceType` INTEGER NOT NULL, `bookUrlPattern` TEXT, `customOrder` INTEGER NOT NULL, `enabled` INTEGER NOT NULL, `enabledExplore` INTEGER NOT NULL, `enabledCookieJar` INTEGER DEFAULT 0, `concurrentRate` TEXT, `header` TEXT, `loginUrl` TEXT, `loginUi` TEXT, `enabledReview` INTEGER, `loginCheckJs` TEXT, `bookSourceComment` TEXT, `variableComment` TEXT, `lastUpdateTime` INTEGER NOT NULL, `respondTime` INTEGER NOT NULL, `weight` INTEGER NOT NULL, `exploreUrl` TEXT, `ruleExplore` TEXT, `searchUrl` TEXT, `ruleSearch` TEXT, `ruleBookInfo` TEXT, `ruleToc` TEXT, `ruleContent` TEXT, `ruleReview` TEXT, PRIMARY KEY(`bookSourceUrl`))", |
|
|
|
"fields": [ |
|
|
|
"fields": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"fieldPath": "bookSourceUrl", |
|
|
|
"fieldPath": "bookSourceUrl", |
|
|
@ -354,6 +354,12 @@ |
|
|
|
"affinity": "TEXT", |
|
|
|
"affinity": "TEXT", |
|
|
|
"notNull": false |
|
|
|
"notNull": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"fieldPath": "enabledReview", |
|
|
|
|
|
|
|
"columnName": "enabledReview", |
|
|
|
|
|
|
|
"affinity": "INTEGER", |
|
|
|
|
|
|
|
"notNull": false |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"fieldPath": "loginCheckJs", |
|
|
|
"fieldPath": "loginCheckJs", |
|
|
|
"columnName": "loginCheckJs", |
|
|
|
"columnName": "loginCheckJs", |
|
|
@ -431,13 +437,19 @@ |
|
|
|
"columnName": "ruleContent", |
|
|
|
"columnName": "ruleContent", |
|
|
|
"affinity": "TEXT", |
|
|
|
"affinity": "TEXT", |
|
|
|
"notNull": false |
|
|
|
"notNull": false |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"fieldPath": "ruleReview", |
|
|
|
|
|
|
|
"columnName": "ruleReview", |
|
|
|
|
|
|
|
"affinity": "TEXT", |
|
|
|
|
|
|
|
"notNull": false |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"bookSourceUrl" |
|
|
|
"bookSourceUrl" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -548,11 +560,11 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"url", |
|
|
|
"url", |
|
|
|
"bookUrl" |
|
|
|
"bookUrl" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -676,10 +688,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": true, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"id" |
|
|
|
"id" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": true |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -790,10 +802,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"bookUrl" |
|
|
|
"bookUrl" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -853,10 +865,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"word" |
|
|
|
"word" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -889,10 +901,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"url" |
|
|
|
"url" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1082,10 +1094,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"sourceUrl" |
|
|
|
"sourceUrl" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1154,10 +1166,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"time" |
|
|
|
"time" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1245,11 +1257,11 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"origin", |
|
|
|
"origin", |
|
|
|
"link" |
|
|
|
"link" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1272,10 +1284,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"record" |
|
|
|
"record" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1346,11 +1358,11 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"origin", |
|
|
|
"origin", |
|
|
|
"link" |
|
|
|
"link" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1397,10 +1409,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"id" |
|
|
|
"id" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1437,11 +1449,11 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"deviceId", |
|
|
|
"deviceId", |
|
|
|
"bookName" |
|
|
|
"bookName" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1521,10 +1533,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"id" |
|
|
|
"id" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1553,10 +1565,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"key" |
|
|
|
"key" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [ |
|
|
|
"indices": [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1619,10 +1631,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"id" |
|
|
|
"id" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1661,11 +1673,11 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"primaryKey": { |
|
|
|
"primaryKey": { |
|
|
|
"autoGenerate": false, |
|
|
|
|
|
|
|
"columnNames": [ |
|
|
|
"columnNames": [ |
|
|
|
"type", |
|
|
|
"type", |
|
|
|
"key" |
|
|
|
"key" |
|
|
|
] |
|
|
|
], |
|
|
|
|
|
|
|
"autoGenerate": false |
|
|
|
}, |
|
|
|
}, |
|
|
|
"indices": [], |
|
|
|
"indices": [], |
|
|
|
"foreignKeys": [] |
|
|
|
"foreignKeys": [] |
|
|
@ -1674,7 +1686,7 @@ |
|
|
|
"views": [], |
|
|
|
"views": [], |
|
|
|
"setupQueries": [ |
|
|
|
"setupQueries": [ |
|
|
|
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", |
|
|
|
"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, 'c55dac79aa9cc3dcdb72e91da4282005')" |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |