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

782 lines
22 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 10,
"identityHash": "960d97b00e431c4d49d618b32636a18a",
"entities": [
{
"ftsVersion": "FTS4",
"ftsOptions": {
"tokenizer": "simple",
"tokenizerArgs": [],
"contentTable": "",
"languageIdColumnName": "",
"matchInfo": "FTS4",
"notIndexedColumns": [],
"prefixSizes": [],
"preferredOrder": "ASC"
},
"contentSyncTriggers": [],
"tableName": "chinese_knowledge",
"createSql": "CREATE VIRTUAL TABLE IF NOT EXISTS `${TABLE_NAME}` USING FTS4(`content` TEXT NOT NULL, `label` TEXT NOT NULL, `url` TEXT)",
"fields": [
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "label",
"columnName": "label",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "url",
"columnName": "url",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"rowid"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "chinese_wisecrack_collections",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `collected_at` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "collectedAt",
"columnName": "collected_at",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_chinese_wisecrack_collections_collected_at",
"unique": false,
"columnNames": [
"collected_at"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_chinese_wisecrack_collections_collected_at` ON `${TABLE_NAME}` (`collected_at`)"
}
],
"foreignKeys": []
},
{
"tableName": "chinese_wisecracks",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `riddle` TEXT NOT NULL, `answer` TEXT NOT NULL, `first_word` TEXT NOT NULL, `first_letter` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "riddle",
"columnName": "riddle",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "answer",
"columnName": "answer",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "firstWord",
"columnName": "first_word",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "firstLetter",
"columnName": "first_letter",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "classic_poems",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `dynasty` TEXT NOT NULL, `writer` TEXT NOT NULL, `writer_introduction` TEXT, `title` TEXT NOT NULL, `subtitle` TEXT, `preface` TEXT, `content` TEXT NOT NULL, `annotation` TEXT, `translation` TEXT, `creative_background` TEXT, `explain` TEXT, `comment` TEXT, `collection` TEXT NOT NULL, `category` TEXT, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "dynasty",
"columnName": "dynasty",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "writer",
"columnName": "writer",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "writerIntroduction",
"columnName": "writer_introduction",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "subtitle",
"columnName": "subtitle",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "preface",
"columnName": "preface",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "annotation",
"columnName": "annotation",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "translation",
"columnName": "translation",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "creativeBackground",
"columnName": "creative_background",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "explain",
"columnName": "explain",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "comment",
"columnName": "comment",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "collection",
"columnName": "collection",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "category",
"columnName": "category",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "idiom_collections",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `collected_at` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "collectedAt",
"columnName": "collected_at",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_idiom_collections_collected_at",
"unique": false,
"columnNames": [
"collected_at"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_idiom_collections_collected_at` ON `${TABLE_NAME}` (`collected_at`)"
}
],
"foreignKeys": []
},
{
"tableName": "idioms",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `word` TEXT NOT NULL, `pinyin` TEXT NOT NULL, `explanation` TEXT NOT NULL, `example` TEXT NOT NULL, `derivation` TEXT NOT NULL, `first_word` TEXT NOT NULL, `first_letter` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "word",
"columnName": "word",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "pinyin",
"columnName": "pinyin",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "explanation",
"columnName": "explanation",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "example",
"columnName": "example",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "derivation",
"columnName": "derivation",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "firstWord",
"columnName": "first_word",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "firstLetter",
"columnName": "first_letter",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "people",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `birth_year` TEXT, `birth_day` TEXT, `death_year` TEXT, `death_day` TEXT, `dynasty` TEXT NOT NULL, `aliases` TEXT, `titles` TEXT, `hometown` TEXT, `details` TEXT, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "birthYear",
"columnName": "birth_year",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "birthDay",
"columnName": "birth_day",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "deathYear",
"columnName": "death_year",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "deathDay",
"columnName": "death_day",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "dynasty",
"columnName": "dynasty",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "aliases",
"columnName": "aliases",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "titles",
"columnName": "titles",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "hometown",
"columnName": "hometown",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "details",
"columnName": "details",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "poem_sentence_collections",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `collected_at` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "collectedAt",
"columnName": "collected_at",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_poem_sentence_collections_collected_at",
"unique": false,
"columnNames": [
"collected_at"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_poem_sentence_collections_collected_at` ON `${TABLE_NAME}` (`collected_at`)"
}
],
"foreignKeys": []
},
{
"tableName": "poem_sentences",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `content` TEXT NOT NULL, `from` TEXT NOT NULL, `poem_id` INTEGER, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "from",
"columnName": "from",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "poemId",
"columnName": "poem_id",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "riddles",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `puzzle` TEXT NOT NULL, `answer` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "puzzle",
"columnName": "puzzle",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "answer",
"columnName": "answer",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "tongue_twisters",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `content2` TEXT, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "content2",
"columnName": "content2",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "writing_collections",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `collected_at` INTEGER NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "collectedAt",
"columnName": "collected_at",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_writing_collections_collected_at",
"unique": false,
"columnNames": [
"collected_at"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_writing_collections_collected_at` ON `${TABLE_NAME}` (`collected_at`)"
}
],
"foreignKeys": []
},
{
"ftsVersion": "FTS4",
"ftsOptions": {
"tokenizer": "simple",
"tokenizerArgs": [],
"contentTable": "",
"languageIdColumnName": "",
"matchInfo": "FTS4",
"notIndexedColumns": [],
"prefixSizes": [],
"preferredOrder": "ASC"
},
"contentSyncTriggers": [],
"tableName": "writings",
"createSql": "CREATE VIRTUAL TABLE IF NOT EXISTS `${TABLE_NAME}` USING FTS4(`group_index` INTEGER, `classes` TEXT, `froms` TEXT, `allusions` TEXT, `pictures` TEXT, `dynasty` TEXT NOT NULL, `author` TEXT NOT NULL, `author_id` INTEGER, `author_date` TEXT, `author_place` TEXT, `type` TEXT NOT NULL, `type_detail` TEXT NOT NULL, `rhyme` TEXT, `preface` TEXT, `clauses` TEXT NOT NULL, `note` TEXT, `comments` TEXT, `content` TEXT, `title_content` TEXT NOT NULL, `title_comments` TEXT, `title_breakAfter` INTEGER, `subtitle_content` TEXT, `subtitle_comments` TEXT, `subtitle_breakAfter` INTEGER, `tune_name` TEXT, `tune_id` INTEGER)",
"fields": [
{
"fieldPath": "groupIndex",
"columnName": "group_index",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "classes",
"columnName": "classes",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "froms",
"columnName": "froms",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "allusions",
"columnName": "allusions",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "pictures",
"columnName": "pictures",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "dynasty",
"columnName": "dynasty",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "author",
"columnName": "author",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "authorId",
"columnName": "author_id",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "authorDate",
"columnName": "author_date",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "authorPlace",
"columnName": "author_place",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "type",
"columnName": "type",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "typeDetail",
"columnName": "type_detail",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "rhyme",
"columnName": "rhyme",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "preface",
"columnName": "preface",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "clauses",
"columnName": "clauses",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "note",
"columnName": "note",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "comments",
"columnName": "comments",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "title.content",
"columnName": "title_content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "title.comments",
"columnName": "title_comments",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "title.breakAfter",
"columnName": "title_breakAfter",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "subtitle.content",
"columnName": "subtitle_content",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "subtitle.comments",
"columnName": "subtitle_comments",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "subtitle.breakAfter",
"columnName": "subtitle_breakAfter",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "tuneId.name",
"columnName": "tune_name",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "tuneId.id",
"columnName": "tune_id",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"rowid"
]
},
"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, '960d97b00e431c4d49d618b32636a18a')"
]
}
}