13.json
composeApp/schemas/eu.friedcutlet.yokan.database.room.YokanRoomDatabase/13.json
1{2 "formatVersion": 1,3 "database": {4 "version": 13,5 "identityHash": "034831b87844c47f0b69694b5cc60b08",6 "entities": [7 {8 "tableName": "manga",9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT, `link` TEXT, `imageUrl` TEXT, `description` TEXT, `author` TEXT, `artist` TEXT, `status` TEXT NOT NULL, `itemType` TEXT NOT NULL, `genre` TEXT, `favorite` INTEGER NOT NULL, `source` TEXT, `lang` TEXT, `dateAdded` INTEGER, `lastUpdate` INTEGER, `lastRead` INTEGER NOT NULL, `categories` TEXT, `isLocalArchive` INTEGER NOT NULL, `customCoverImage` BLOB, `customCoverFromTracker` TEXT, `smartUpdateDays` INTEGER, `updatedAt` INTEGER NOT NULL, `sourceId` INTEGER, `privateNote` TEXT NOT NULL DEFAULT '', `nextEpisodeAiringAt` INTEGER NOT NULL DEFAULT 0, `nextEpisodeNumber` INTEGER DEFAULT NULL, `airingScheduleUpdatedAt` INTEGER NOT NULL DEFAULT 0, PRIMARY KEY(`id`))",10 "fields": [11 {12 "fieldPath": "id",13 "columnName": "id",14 "affinity": "INTEGER",15 "notNull": true16 },17 {18 "fieldPath": "name",19 "columnName": "name",20 "affinity": "TEXT"21 },22 {23 "fieldPath": "link",24 "columnName": "link",25 "affinity": "TEXT"26 },27 {28 "fieldPath": "imageUrl",29 "columnName": "imageUrl",30 "affinity": "TEXT"31 },32 {33 "fieldPath": "description",34 "columnName": "description",35 "affinity": "TEXT"36 },37 {38 "fieldPath": "author",39 "columnName": "author",40 "affinity": "TEXT"41 },42 {43 "fieldPath": "artist",44 "columnName": "artist",45 "affinity": "TEXT"46 },47 {48 "fieldPath": "status",49 "columnName": "status",50 "affinity": "TEXT",51 "notNull": true52 },53 {54 "fieldPath": "itemType",55 "columnName": "itemType",56 "affinity": "TEXT",57 "notNull": true58 },59 {60 "fieldPath": "genre",61 "columnName": "genre",62 "affinity": "TEXT"63 },64 {65 "fieldPath": "favorite",66 "columnName": "favorite",67 "affinity": "INTEGER",68 "notNull": true69 },70 {71 "fieldPath": "source",72 "columnName": "source",73 "affinity": "TEXT"74 },75 {76 "fieldPath": "lang",77 "columnName": "lang",78 "affinity": "TEXT"79 },80 {81 "fieldPath": "dateAdded",82 "columnName": "dateAdded",83 "affinity": "INTEGER"84 },85 {86 "fieldPath": "lastUpdate",87 "columnName": "lastUpdate",88 "affinity": "INTEGER"89 },90 {91 "fieldPath": "lastRead",92 "columnName": "lastRead",93 "affinity": "INTEGER",94 "notNull": true95 },96 {97 "fieldPath": "categories",98 "columnName": "categories",99 "affinity": "TEXT"100 },101 {102 "fieldPath": "isLocalArchive",103 "columnName": "isLocalArchive",104 "affinity": "INTEGER",105 "notNull": true106 },107 {108 "fieldPath": "customCoverImage",109 "columnName": "customCoverImage",110 "affinity": "BLOB"111 },112 {113 "fieldPath": "customCoverFromTracker",114 "columnName": "customCoverFromTracker",115 "affinity": "TEXT"116 },117 {118 "fieldPath": "smartUpdateDays",119 "columnName": "smartUpdateDays",120 "affinity": "INTEGER"121 },122 {123 "fieldPath": "updatedAt",124 "columnName": "updatedAt",125 "affinity": "INTEGER",126 "notNull": true127 },128 {129 "fieldPath": "sourceId",130 "columnName": "sourceId",131 "affinity": "INTEGER"132 },133 {134 "fieldPath": "privateNote",135 "columnName": "privateNote",136 "affinity": "TEXT",137 "notNull": true,138 "defaultValue": "''"139 },140 {141 "fieldPath": "nextEpisodeAiringAt",142 "columnName": "nextEpisodeAiringAt",143 "affinity": "INTEGER",144 "notNull": true,145 "defaultValue": "0"146 },147 {148 "fieldPath": "nextEpisodeNumber",149 "columnName": "nextEpisodeNumber",150 "affinity": "INTEGER",151 "defaultValue": "NULL"152 },153 {154 "fieldPath": "airingScheduleUpdatedAt",155 "columnName": "airingScheduleUpdatedAt",156 "affinity": "INTEGER",157 "notNull": true,158 "defaultValue": "0"159 }160 ],161 "primaryKey": {162 "autoGenerate": false,163 "columnNames": [164 "id"165 ]166 }167 },168 {169 "tableName": "chapter",170 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `mangaId` INTEGER, `name` TEXT, `url` TEXT NOT NULL, `dateUpload` TEXT NOT NULL, `scanlator` TEXT NOT NULL, `isBookmarked` INTEGER NOT NULL, `isRead` INTEGER NOT NULL, `lastPageRead` TEXT NOT NULL, `archivePath` TEXT NOT NULL, `isFiller` INTEGER NOT NULL, `thumbnailUrl` TEXT, `description` TEXT, `downloadSize` TEXT, `duration` TEXT, `updatedAt` INTEGER NOT NULL, `fetchedAt` INTEGER NOT NULL DEFAULT 0, PRIMARY KEY(`id`))",171 "fields": [172 {173 "fieldPath": "id",174 "columnName": "id",175 "affinity": "INTEGER",176 "notNull": true177 },178 {179 "fieldPath": "mangaId",180 "columnName": "mangaId",181 "affinity": "INTEGER"182 },183 {184 "fieldPath": "name",185 "columnName": "name",186 "affinity": "TEXT"187 },188 {189 "fieldPath": "url",190 "columnName": "url",191 "affinity": "TEXT",192 "notNull": true193 },194 {195 "fieldPath": "dateUpload",196 "columnName": "dateUpload",197 "affinity": "TEXT",198 "notNull": true199 },200 {201 "fieldPath": "scanlator",202 "columnName": "scanlator",203 "affinity": "TEXT",204 "notNull": true205 },206 {207 "fieldPath": "isBookmarked",208 "columnName": "isBookmarked",209 "affinity": "INTEGER",210 "notNull": true211 },212 {213 "fieldPath": "isRead",214 "columnName": "isRead",215 "affinity": "INTEGER",216 "notNull": true217 },218 {219 "fieldPath": "lastPageRead",220 "columnName": "lastPageRead",221 "affinity": "TEXT",222 "notNull": true223 },224 {225 "fieldPath": "archivePath",226 "columnName": "archivePath",227 "affinity": "TEXT",228 "notNull": true229 },230 {231 "fieldPath": "isFiller",232 "columnName": "isFiller",233 "affinity": "INTEGER",234 "notNull": true235 },236 {237 "fieldPath": "thumbnailUrl",238 "columnName": "thumbnailUrl",239 "affinity": "TEXT"240 },241 {242 "fieldPath": "description",243 "columnName": "description",244 "affinity": "TEXT"245 },246 {247 "fieldPath": "downloadSize",248 "columnName": "downloadSize",249 "affinity": "TEXT"250 },251 {252 "fieldPath": "duration",253 "columnName": "duration",254 "affinity": "TEXT"255 },256 {257 "fieldPath": "updatedAt",258 "columnName": "updatedAt",259 "affinity": "INTEGER",260 "notNull": true261 },262 {263 "fieldPath": "fetchedAt",264 "columnName": "fetchedAt",265 "affinity": "INTEGER",266 "notNull": true,267 "defaultValue": "0"268 }269 ],270 "primaryKey": {271 "autoGenerate": false,272 "columnNames": [273 "id"274 ]275 }276 },277 {278 "tableName": "category",279 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `forItemType` TEXT NOT NULL, `position` INTEGER, `hidden` INTEGER, `shouldUpdate` INTEGER, `updatedAt` INTEGER NOT NULL, PRIMARY KEY(`id`))",280 "fields": [281 {282 "fieldPath": "id",283 "columnName": "id",284 "affinity": "INTEGER",285 "notNull": true286 },287 {288 "fieldPath": "name",289 "columnName": "name",290 "affinity": "TEXT",291 "notNull": true292 },293 {294 "fieldPath": "forItemType",295 "columnName": "forItemType",296 "affinity": "TEXT",297 "notNull": true298 },299 {300 "fieldPath": "position",301 "columnName": "position",302 "affinity": "INTEGER"303 },304 {305 "fieldPath": "hidden",306 "columnName": "hidden",307 "affinity": "INTEGER"308 },309 {310 "fieldPath": "shouldUpdate",311 "columnName": "shouldUpdate",312 "affinity": "INTEGER"313 },314 {315 "fieldPath": "updatedAt",316 "columnName": "updatedAt",317 "affinity": "INTEGER",318 "notNull": true319 }320 ],321 "primaryKey": {322 "autoGenerate": false,323 "columnNames": [324 "id"325 ]326 }327 },328 {329 "tableName": "source",330 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT NOT NULL, `baseUrl` TEXT NOT NULL, `lang` TEXT NOT NULL, `isActive` INTEGER NOT NULL, `isAdded` INTEGER NOT NULL, `isPinned` INTEGER NOT NULL, `isNsfw` INTEGER NOT NULL, `sourceCode` TEXT NOT NULL, `sourceCodeUrl` TEXT NOT NULL, `typeSource` TEXT NOT NULL, `iconUrl` TEXT NOT NULL, `isFullData` INTEGER NOT NULL, `hasCloudflare` INTEGER NOT NULL, `lastUsed` INTEGER NOT NULL, `dateFormat` TEXT NOT NULL, `dateFormatLocale` TEXT NOT NULL, `apiUrl` TEXT NOT NULL, `version` TEXT NOT NULL, `versionLast` TEXT NOT NULL, `headers` TEXT NOT NULL, `supportLatest` INTEGER, `filterList` TEXT, `preferenceList` TEXT, `itemType` TEXT NOT NULL, `appMinVerReq` TEXT NOT NULL, `additionalParams` TEXT NOT NULL, `isLocal` INTEGER NOT NULL, `isObsolete` INTEGER NOT NULL, `sourceCodeLanguage` TEXT NOT NULL, `notes` TEXT NOT NULL, `repoJson` TEXT, `updatedAt` INTEGER NOT NULL, PRIMARY KEY(`id`))",331 "fields": [332 {333 "fieldPath": "id",334 "columnName": "id",335 "affinity": "INTEGER",336 "notNull": true337 },338 {339 "fieldPath": "name",340 "columnName": "name",341 "affinity": "TEXT",342 "notNull": true343 },344 {345 "fieldPath": "baseUrl",346 "columnName": "baseUrl",347 "affinity": "TEXT",348 "notNull": true349 },350 {351 "fieldPath": "lang",352 "columnName": "lang",353 "affinity": "TEXT",354 "notNull": true355 },356 {357 "fieldPath": "isActive",358 "columnName": "isActive",359 "affinity": "INTEGER",360 "notNull": true361 },362 {363 "fieldPath": "isAdded",364 "columnName": "isAdded",365 "affinity": "INTEGER",366 "notNull": true367 },368 {369 "fieldPath": "isPinned",370 "columnName": "isPinned",371 "affinity": "INTEGER",372 "notNull": true373 },374 {375 "fieldPath": "isNsfw",376 "columnName": "isNsfw",377 "affinity": "INTEGER",378 "notNull": true379 },380 {381 "fieldPath": "sourceCode",382 "columnName": "sourceCode",383 "affinity": "TEXT",384 "notNull": true385 },386 {387 "fieldPath": "sourceCodeUrl",388 "columnName": "sourceCodeUrl",389 "affinity": "TEXT",390 "notNull": true391 },392 {393 "fieldPath": "typeSource",394 "columnName": "typeSource",395 "affinity": "TEXT",396 "notNull": true397 },398 {399 "fieldPath": "iconUrl",400 "columnName": "iconUrl",401 "affinity": "TEXT",402 "notNull": true403 },404 {405 "fieldPath": "isFullData",406 "columnName": "isFullData",407 "affinity": "INTEGER",408 "notNull": true409 },410 {411 "fieldPath": "hasCloudflare",412 "columnName": "hasCloudflare",413 "affinity": "INTEGER",414 "notNull": true415 },416 {417 "fieldPath": "lastUsed",418 "columnName": "lastUsed",419 "affinity": "INTEGER",420 "notNull": true421 },422 {423 "fieldPath": "dateFormat",424 "columnName": "dateFormat",425 "affinity": "TEXT",426 "notNull": true427 },428 {429 "fieldPath": "dateFormatLocale",430 "columnName": "dateFormatLocale",431 "affinity": "TEXT",432 "notNull": true433 },434 {435 "fieldPath": "apiUrl",436 "columnName": "apiUrl",437 "affinity": "TEXT",438 "notNull": true439 },440 {441 "fieldPath": "version",442 "columnName": "version",443 "affinity": "TEXT",444 "notNull": true445 },446 {447 "fieldPath": "versionLast",448 "columnName": "versionLast",449 "affinity": "TEXT",450 "notNull": true451 },452 {453 "fieldPath": "headers",454 "columnName": "headers",455 "affinity": "TEXT",456 "notNull": true457 },458 {459 "fieldPath": "supportLatest",460 "columnName": "supportLatest",461 "affinity": "INTEGER"462 },463 {464 "fieldPath": "filterList",465 "columnName": "filterList",466 "affinity": "TEXT"467 },468 {469 "fieldPath": "preferenceList",470 "columnName": "preferenceList",471 "affinity": "TEXT"472 },473 {474 "fieldPath": "itemType",475 "columnName": "itemType",476 "affinity": "TEXT",477 "notNull": true478 },479 {480 "fieldPath": "appMinVerReq",481 "columnName": "appMinVerReq",482 "affinity": "TEXT",483 "notNull": true484 },485 {486 "fieldPath": "additionalParams",487 "columnName": "additionalParams",488 "affinity": "TEXT",489 "notNull": true490 },491 {492 "fieldPath": "isLocal",493 "columnName": "isLocal",494 "affinity": "INTEGER",495 "notNull": true496 },497 {498 "fieldPath": "isObsolete",499 "columnName": "isObsolete",500 "affinity": "INTEGER",501 "notNull": true502 },503 {504 "fieldPath": "sourceCodeLanguage",505 "columnName": "sourceCodeLanguage",506 "affinity": "TEXT",507 "notNull": true508 },509 {510 "fieldPath": "notes",511 "columnName": "notes",512 "affinity": "TEXT",513 "notNull": true514 },515 {516 "fieldPath": "repoJson",517 "columnName": "repoJson",518 "affinity": "TEXT"519 },520 {521 "fieldPath": "updatedAt",522 "columnName": "updatedAt",523 "affinity": "INTEGER",524 "notNull": true525 }526 ],527 "primaryKey": {528 "autoGenerate": false,529 "columnNames": [530 "id"531 ]532 }533 },534 {535 "tableName": "history",536 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `mangaId` INTEGER, `chapterId` INTEGER, `itemType` TEXT NOT NULL, `date` TEXT, `updatedAt` INTEGER NOT NULL, `readingTimeSeconds` INTEGER, PRIMARY KEY(`id`))",537 "fields": [538 {539 "fieldPath": "id",540 "columnName": "id",541 "affinity": "INTEGER",542 "notNull": true543 },544 {545 "fieldPath": "mangaId",546 "columnName": "mangaId",547 "affinity": "INTEGER"548 },549 {550 "fieldPath": "chapterId",551 "columnName": "chapterId",552 "affinity": "INTEGER"553 },554 {555 "fieldPath": "itemType",556 "columnName": "itemType",557 "affinity": "TEXT",558 "notNull": true559 },560 {561 "fieldPath": "date",562 "columnName": "date",563 "affinity": "TEXT"564 },565 {566 "fieldPath": "updatedAt",567 "columnName": "updatedAt",568 "affinity": "INTEGER",569 "notNull": true570 },571 {572 "fieldPath": "readingTimeSeconds",573 "columnName": "readingTimeSeconds",574 "affinity": "INTEGER"575 }576 ],577 "primaryKey": {578 "autoGenerate": false,579 "columnNames": [580 "id"581 ]582 }583 },584 {585 "tableName": "library_update",586 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `mangaId` INTEGER, `chapterId` INTEGER, `chapterName` TEXT, `date` TEXT, `updatedAt` INTEGER NOT NULL, PRIMARY KEY(`id`))",587 "fields": [588 {589 "fieldPath": "id",590 "columnName": "id",591 "affinity": "INTEGER",592 "notNull": true593 },594 {595 "fieldPath": "mangaId",596 "columnName": "mangaId",597 "affinity": "INTEGER"598 },599 {600 "fieldPath": "chapterId",601 "columnName": "chapterId",602 "affinity": "INTEGER"603 },604 {605 "fieldPath": "chapterName",606 "columnName": "chapterName",607 "affinity": "TEXT"608 },609 {610 "fieldPath": "date",611 "columnName": "date",612 "affinity": "TEXT"613 },614 {615 "fieldPath": "updatedAt",616 "columnName": "updatedAt",617 "affinity": "INTEGER",618 "notNull": true619 }620 ],621 "primaryKey": {622 "autoGenerate": false,623 "columnNames": [624 "id"625 ]626 }627 },628 {629 "tableName": "download",630 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `chapterId` INTEGER, `succeeded` INTEGER, `failed` INTEGER, `total` INTEGER, `isDownload` INTEGER, `isStartDownload` INTEGER, `isPaused` INTEGER NOT NULL DEFAULT 0, `storageLocation` TEXT, `requestJson` TEXT, PRIMARY KEY(`id`))",631 "fields": [632 {633 "fieldPath": "id",634 "columnName": "id",635 "affinity": "INTEGER",636 "notNull": true637 },638 {639 "fieldPath": "chapterId",640 "columnName": "chapterId",641 "affinity": "INTEGER"642 },643 {644 "fieldPath": "succeeded",645 "columnName": "succeeded",646 "affinity": "INTEGER"647 },648 {649 "fieldPath": "failed",650 "columnName": "failed",651 "affinity": "INTEGER"652 },653 {654 "fieldPath": "total",655 "columnName": "total",656 "affinity": "INTEGER"657 },658 {659 "fieldPath": "isDownload",660 "columnName": "isDownload",661 "affinity": "INTEGER"662 },663 {664 "fieldPath": "isStartDownload",665 "columnName": "isStartDownload",666 "affinity": "INTEGER"667 },668 {669 "fieldPath": "isPaused",670 "columnName": "isPaused",671 "affinity": "INTEGER",672 "notNull": true,673 "defaultValue": "0"674 },675 {676 "fieldPath": "storageLocation",677 "columnName": "storageLocation",678 "affinity": "TEXT"679 },680 {681 "fieldPath": "requestJson",682 "columnName": "requestJson",683 "affinity": "TEXT"684 }685 ],686 "primaryKey": {687 "autoGenerate": false,688 "columnNames": [689 "id"690 ]691 }692 },693 {694 "tableName": "track",695 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `libraryId` INTEGER, `mediaId` INTEGER, `mangaId` INTEGER, `syncId` INTEGER, `title` TEXT, `lastChapterRead` INTEGER, `totalChapter` INTEGER, `score` INTEGER, `status` TEXT NOT NULL, `startedReadingDate` INTEGER, `finishedReadingDate` INTEGER, `trackingUrl` TEXT, `itemType` TEXT NOT NULL, `updatedAt` INTEGER NOT NULL, PRIMARY KEY(`id`))",696 "fields": [697 {698 "fieldPath": "id",699 "columnName": "id",700 "affinity": "INTEGER",701 "notNull": true702 },703 {704 "fieldPath": "libraryId",705 "columnName": "libraryId",706 "affinity": "INTEGER"707 },708 {709 "fieldPath": "mediaId",710 "columnName": "mediaId",711 "affinity": "INTEGER"712 },713 {714 "fieldPath": "mangaId",715 "columnName": "mangaId",716 "affinity": "INTEGER"717 },718 {719 "fieldPath": "syncId",720 "columnName": "syncId",721 "affinity": "INTEGER"722 },723 {724 "fieldPath": "title",725 "columnName": "title",726 "affinity": "TEXT"727 },728 {729 "fieldPath": "lastChapterRead",730 "columnName": "lastChapterRead",731 "affinity": "INTEGER"732 },733 {734 "fieldPath": "totalChapter",735 "columnName": "totalChapter",736 "affinity": "INTEGER"737 },738 {739 "fieldPath": "score",740 "columnName": "score",741 "affinity": "INTEGER"742 },743 {744 "fieldPath": "status",745 "columnName": "status",746 "affinity": "TEXT",747 "notNull": true748 },749 {750 "fieldPath": "startedReadingDate",751 "columnName": "startedReadingDate",752 "affinity": "INTEGER"753 },754 {755 "fieldPath": "finishedReadingDate",756 "columnName": "finishedReadingDate",757 "affinity": "INTEGER"758 },759 {760 "fieldPath": "trackingUrl",761 "columnName": "trackingUrl",762 "affinity": "TEXT"763 },764 {765 "fieldPath": "itemType",766 "columnName": "itemType",767 "affinity": "TEXT",768 "notNull": true769 },770 {771 "fieldPath": "updatedAt",772 "columnName": "updatedAt",773 "affinity": "INTEGER",774 "notNull": true775 }776 ],777 "primaryKey": {778 "autoGenerate": false,779 "columnNames": [780 "id"781 ]782 }783 },784 {785 "tableName": "track_preference",786 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`syncId` INTEGER NOT NULL, `username` TEXT, `oauth` TEXT, `prefs` TEXT, `refreshing` INTEGER, PRIMARY KEY(`syncId`))",787 "fields": [788 {789 "fieldPath": "syncId",790 "columnName": "syncId",791 "affinity": "INTEGER",792 "notNull": true793 },794 {795 "fieldPath": "username",796 "columnName": "username",797 "affinity": "TEXT"798 },799 {800 "fieldPath": "oauth",801 "columnName": "oauth",802 "affinity": "TEXT"803 },804 {805 "fieldPath": "prefs",806 "columnName": "prefs",807 "affinity": "TEXT"808 },809 {810 "fieldPath": "refreshing",811 "columnName": "refreshing",812 "affinity": "INTEGER"813 }814 ],815 "primaryKey": {816 "autoGenerate": false,817 "columnNames": [818 "syncId"819 ]820 }821 },822 {823 "tableName": "track_search",824 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`rowId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `id` INTEGER, `libraryId` INTEGER, `mediaId` INTEGER, `syncId` INTEGER, `title` TEXT, `lastChapterRead` INTEGER, `totalChapter` INTEGER, `score` REAL, `status` TEXT NOT NULL, `startedReadingDate` INTEGER, `finishedReadingDate` INTEGER, `trackingUrl` TEXT, `coverUrl` TEXT NOT NULL, `summary` TEXT NOT NULL, `publishingStatus` TEXT NOT NULL, `publishingType` TEXT NOT NULL, `startDate` TEXT NOT NULL)",825 "fields": [826 {827 "fieldPath": "rowId",828 "columnName": "rowId",829 "affinity": "INTEGER",830 "notNull": true831 },832 {833 "fieldPath": "id",834 "columnName": "id",835 "affinity": "INTEGER"836 },837 {838 "fieldPath": "libraryId",839 "columnName": "libraryId",840 "affinity": "INTEGER"841 },842 {843 "fieldPath": "mediaId",844 "columnName": "mediaId",845 "affinity": "INTEGER"846 },847 {848 "fieldPath": "syncId",849 "columnName": "syncId",850 "affinity": "INTEGER"851 },852 {853 "fieldPath": "title",854 "columnName": "title",855 "affinity": "TEXT"856 },857 {858 "fieldPath": "lastChapterRead",859 "columnName": "lastChapterRead",860 "affinity": "INTEGER"861 },862 {863 "fieldPath": "totalChapter",864 "columnName": "totalChapter",865 "affinity": "INTEGER"866 },867 {868 "fieldPath": "score",869 "columnName": "score",870 "affinity": "REAL"871 },872 {873 "fieldPath": "status",874 "columnName": "status",875 "affinity": "TEXT",876 "notNull": true877 },878 {879 "fieldPath": "startedReadingDate",880 "columnName": "startedReadingDate",881 "affinity": "INTEGER"882 },883 {884 "fieldPath": "finishedReadingDate",885 "columnName": "finishedReadingDate",886 "affinity": "INTEGER"887 },888 {889 "fieldPath": "trackingUrl",890 "columnName": "trackingUrl",891 "affinity": "TEXT"892 },893 {894 "fieldPath": "coverUrl",895 "columnName": "coverUrl",896 "affinity": "TEXT",897 "notNull": true898 },899 {900 "fieldPath": "summary",901 "columnName": "summary",902 "affinity": "TEXT",903 "notNull": true904 },905 {906 "fieldPath": "publishingStatus",907 "columnName": "publishingStatus",908 "affinity": "TEXT",909 "notNull": true910 },911 {912 "fieldPath": "publishingType",913 "columnName": "publishingType",914 "affinity": "TEXT",915 "notNull": true916 },917 {918 "fieldPath": "startDate",919 "columnName": "startDate",920 "affinity": "TEXT",921 "notNull": true922 }923 ],924 "primaryKey": {925 "autoGenerate": true,926 "columnNames": [927 "rowId"928 ]929 }930 },931 {932 "tableName": "sync_preference",933 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`syncId` INTEGER NOT NULL, `email` TEXT, `authToken` TEXT, `lastSyncManga` INTEGER, `lastSyncHistory` INTEGER, `lastSyncUpdate` INTEGER, `server` TEXT, `syncOn` INTEGER NOT NULL, `autoSyncFrequency` INTEGER NOT NULL, `syncHistories` INTEGER NOT NULL, `syncUpdates` INTEGER NOT NULL, `syncSettings` INTEGER NOT NULL, `hubHead` INTEGER NOT NULL DEFAULT 0, `hubEpoch` INTEGER NOT NULL DEFAULT 0, `hubRecoveryPending` INTEGER NOT NULL DEFAULT 0, `hubBootstrapComplete` INTEGER NOT NULL DEFAULT 1, `hubHlc` INTEGER NOT NULL DEFAULT 0, `deviceId` TEXT, `serverProvider` TEXT NOT NULL DEFAULT 'YokanHub', `mangayomiIdMappings` TEXT, PRIMARY KEY(`syncId`))",934 "fields": [935 {936 "fieldPath": "syncId",937 "columnName": "syncId",938 "affinity": "INTEGER",939 "notNull": true940 },941 {942 "fieldPath": "email",943 "columnName": "email",944 "affinity": "TEXT"945 },946 {947 "fieldPath": "authToken",948 "columnName": "authToken",949 "affinity": "TEXT"950 },951 {952 "fieldPath": "lastSyncManga",953 "columnName": "lastSyncManga",954 "affinity": "INTEGER"955 },956 {957 "fieldPath": "lastSyncHistory",958 "columnName": "lastSyncHistory",959 "affinity": "INTEGER"960 },961 {962 "fieldPath": "lastSyncUpdate",963 "columnName": "lastSyncUpdate",964 "affinity": "INTEGER"965 },966 {967 "fieldPath": "server",968 "columnName": "server",969 "affinity": "TEXT"970 },971 {972 "fieldPath": "syncOn",973 "columnName": "syncOn",974 "affinity": "INTEGER",975 "notNull": true976 },977 {978 "fieldPath": "autoSyncFrequency",979 "columnName": "autoSyncFrequency",980 "affinity": "INTEGER",981 "notNull": true982 },983 {984 "fieldPath": "syncHistories",985 "columnName": "syncHistories",986 "affinity": "INTEGER",987 "notNull": true988 },989 {990 "fieldPath": "syncUpdates",991 "columnName": "syncUpdates",992 "affinity": "INTEGER",993 "notNull": true994 },995 {996 "fieldPath": "syncSettings",997 "columnName": "syncSettings",998 "affinity": "INTEGER",999 "notNull": true1000 },1001 {1002 "fieldPath": "hubHead",1003 "columnName": "hubHead",1004 "affinity": "INTEGER",1005 "notNull": true,1006 "defaultValue": "0"1007 },1008 {1009 "fieldPath": "hubEpoch",1010 "columnName": "hubEpoch",1011 "affinity": "INTEGER",1012 "notNull": true,1013 "defaultValue": "0"1014 },1015 {1016 "fieldPath": "hubRecoveryPending",1017 "columnName": "hubRecoveryPending",1018 "affinity": "INTEGER",1019 "notNull": true,1020 "defaultValue": "0"1021 },1022 {1023 "fieldPath": "hubBootstrapComplete",1024 "columnName": "hubBootstrapComplete",1025 "affinity": "INTEGER",1026 "notNull": true,1027 "defaultValue": "1"1028 },1029 {1030 "fieldPath": "hubHlc",1031 "columnName": "hubHlc",1032 "affinity": "INTEGER",1033 "notNull": true,1034 "defaultValue": "0"1035 },1036 {1037 "fieldPath": "deviceId",1038 "columnName": "deviceId",1039 "affinity": "TEXT"1040 },1041 {1042 "fieldPath": "serverProvider",1043 "columnName": "serverProvider",1044 "affinity": "TEXT",1045 "notNull": true,1046 "defaultValue": "'YokanHub'"1047 },1048 {1049 "fieldPath": "mangayomiIdMappings",1050 "columnName": "mangayomiIdMappings",1051 "affinity": "TEXT"1052 }1053 ],1054 "primaryKey": {1055 "autoGenerate": false,1056 "columnNames": [1057 "syncId"1058 ]1059 }1060 },1061 {1062 "tableName": "changed_part",1063 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `actionType` TEXT NOT NULL, `isarId` INTEGER, `data` TEXT NOT NULL, `clientDate` INTEGER NOT NULL, PRIMARY KEY(`id`))",1064 "fields": [1065 {1066 "fieldPath": "id",1067 "columnName": "id",1068 "affinity": "INTEGER",1069 "notNull": true1070 },1071 {1072 "fieldPath": "actionType",1073 "columnName": "actionType",1074 "affinity": "TEXT",1075 "notNull": true1076 },1077 {1078 "fieldPath": "isarId",1079 "columnName": "isarId",1080 "affinity": "INTEGER"1081 },1082 {1083 "fieldPath": "data",1084 "columnName": "data",1085 "affinity": "TEXT",1086 "notNull": true1087 },1088 {1089 "fieldPath": "clientDate",1090 "columnName": "clientDate",1091 "affinity": "INTEGER",1092 "notNull": true1093 }1094 ],1095 "primaryKey": {1096 "autoGenerate": false,1097 "columnNames": [1098 "id"1099 ]1100 }1101 },1102 {1103 "tableName": "custom_button",1104 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `title` TEXT, `codePress` TEXT, `codeLongPress` TEXT NOT NULL, `codeStartup` TEXT NOT NULL, `isFavourite` INTEGER NOT NULL, `position` INTEGER NOT NULL, `updatedAt` INTEGER NOT NULL, PRIMARY KEY(`id`))",1105 "fields": [1106 {1107 "fieldPath": "id",1108 "columnName": "id",1109 "affinity": "INTEGER",1110 "notNull": true1111 },1112 {1113 "fieldPath": "title",1114 "columnName": "title",1115 "affinity": "TEXT"1116 },1117 {1118 "fieldPath": "codePress",1119 "columnName": "codePress",1120 "affinity": "TEXT"1121 },1122 {1123 "fieldPath": "codeLongPress",1124 "columnName": "codeLongPress",1125 "affinity": "TEXT",1126 "notNull": true1127 },1128 {1129 "fieldPath": "codeStartup",1130 "columnName": "codeStartup",1131 "affinity": "TEXT",1132 "notNull": true1133 },1134 {1135 "fieldPath": "isFavourite",1136 "columnName": "isFavourite",1137 "affinity": "INTEGER",1138 "notNull": true1139 },1140 {1141 "fieldPath": "position",1142 "columnName": "position",1143 "affinity": "INTEGER",1144 "notNull": true1145 },1146 {1147 "fieldPath": "updatedAt",1148 "columnName": "updatedAt",1149 "affinity": "INTEGER",1150 "notNull": true1151 }1152 ],1153 "primaryKey": {1154 "autoGenerate": false,1155 "columnNames": [1156 "id"1157 ]1158 }1159 },1160 {1161 "tableName": "page_cache",1162 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`chapterId` INTEGER NOT NULL, `chapterUrl` TEXT, `urls` TEXT, `headers` TEXT, `fetchedAt` INTEGER, `sourceId` INTEGER, `sourceVersion` TEXT, PRIMARY KEY(`chapterId`))",1163 "fields": [1164 {1165 "fieldPath": "chapterId",1166 "columnName": "chapterId",1167 "affinity": "INTEGER",1168 "notNull": true1169 },1170 {1171 "fieldPath": "chapterUrl",1172 "columnName": "chapterUrl",1173 "affinity": "TEXT"1174 },1175 {1176 "fieldPath": "urls",1177 "columnName": "urls",1178 "affinity": "TEXT"1179 },1180 {1181 "fieldPath": "headers",1182 "columnName": "headers",1183 "affinity": "TEXT"1184 },1185 {1186 "fieldPath": "fetchedAt",1187 "columnName": "fetchedAt",1188 "affinity": "INTEGER"1189 },1190 {1191 "fieldPath": "sourceId",1192 "columnName": "sourceId",1193 "affinity": "INTEGER"1194 },1195 {1196 "fieldPath": "sourceVersion",1197 "columnName": "sourceVersion",1198 "affinity": "TEXT"1199 }1200 ],1201 "primaryKey": {1202 "autoGenerate": false,1203 "columnNames": [1204 "chapterId"1205 ]1206 }1207 },1208 {1209 "tableName": "settings",1210 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `json` TEXT NOT NULL, PRIMARY KEY(`id`))",1211 "fields": [1212 {1213 "fieldPath": "id",1214 "columnName": "id",1215 "affinity": "INTEGER",1216 "notNull": true1217 },1218 {1219 "fieldPath": "json",1220 "columnName": "json",1221 "affinity": "TEXT",1222 "notNull": true1223 }1224 ],1225 "primaryKey": {1226 "autoGenerate": false,1227 "columnNames": [1228 "id"1229 ]1230 }1231 },1232 {1233 "tableName": "outbox",1234 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`kind` INTEGER NOT NULL, `id` INTEGER NOT NULL, `path` TEXT NOT NULL, `value` TEXT, `hlc` INTEGER NOT NULL, `seq` INTEGER NOT NULL, `epoch` INTEGER NOT NULL DEFAULT 0, PRIMARY KEY(`kind`, `id`, `path`))",1235 "fields": [1236 {1237 "fieldPath": "kind",1238 "columnName": "kind",1239 "affinity": "INTEGER",1240 "notNull": true1241 },1242 {1243 "fieldPath": "id",1244 "columnName": "id",1245 "affinity": "INTEGER",1246 "notNull": true1247 },1248 {1249 "fieldPath": "path",1250 "columnName": "path",1251 "affinity": "TEXT",1252 "notNull": true1253 },1254 {1255 "fieldPath": "value",1256 "columnName": "value",1257 "affinity": "TEXT"1258 },1259 {1260 "fieldPath": "hlc",1261 "columnName": "hlc",1262 "affinity": "INTEGER",1263 "notNull": true1264 },1265 {1266 "fieldPath": "seq",1267 "columnName": "seq",1268 "affinity": "INTEGER",1269 "notNull": true1270 },1271 {1272 "fieldPath": "epoch",1273 "columnName": "epoch",1274 "affinity": "INTEGER",1275 "notNull": true,1276 "defaultValue": "0"1277 }1278 ],1279 "primaryKey": {1280 "autoGenerate": false,1281 "columnNames": [1282 "kind",1283 "id",1284 "path"1285 ]1286 }1287 },1288 {1289 "tableName": "recipe_catalog_checkpoint",1290 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`catalogId` TEXT NOT NULL, `generation` INTEGER NOT NULL, `replayRevision` INTEGER, `replayPayloadHash` BLOB, PRIMARY KEY(`catalogId`))",1291 "fields": [1292 {1293 "fieldPath": "catalogId",1294 "columnName": "catalogId",1295 "affinity": "TEXT",1296 "notNull": true1297 },1298 {1299 "fieldPath": "generation",1300 "columnName": "generation",1301 "affinity": "INTEGER",1302 "notNull": true1303 },1304 {1305 "fieldPath": "replayRevision",1306 "columnName": "replayRevision",1307 "affinity": "INTEGER"1308 },1309 {1310 "fieldPath": "replayPayloadHash",1311 "columnName": "replayPayloadHash",1312 "affinity": "BLOB"1313 }1314 ],1315 "primaryKey": {1316 "autoGenerate": false,1317 "columnNames": [1318 "catalogId"1319 ]1320 }1321 },1322 {1323 "tableName": "recipe_catalog_trust_key",1324 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`catalogId` TEXT NOT NULL, `keyId` TEXT NOT NULL, `rawEd25519PublicKey` BLOB NOT NULL, `state` TEXT NOT NULL, `validFromEpochSeconds` INTEGER, `validUntilEpochSeconds` INTEGER, PRIMARY KEY(`catalogId`, `keyId`))",1325 "fields": [1326 {1327 "fieldPath": "catalogId",1328 "columnName": "catalogId",1329 "affinity": "TEXT",1330 "notNull": true1331 },1332 {1333 "fieldPath": "keyId",1334 "columnName": "keyId",1335 "affinity": "TEXT",1336 "notNull": true1337 },1338 {1339 "fieldPath": "rawEd25519PublicKey",1340 "columnName": "rawEd25519PublicKey",1341 "affinity": "BLOB",1342 "notNull": true1343 },1344 {1345 "fieldPath": "state",1346 "columnName": "state",1347 "affinity": "TEXT",1348 "notNull": true1349 },1350 {1351 "fieldPath": "validFromEpochSeconds",1352 "columnName": "validFromEpochSeconds",1353 "affinity": "INTEGER"1354 },1355 {1356 "fieldPath": "validUntilEpochSeconds",1357 "columnName": "validUntilEpochSeconds",1358 "affinity": "INTEGER"1359 }1360 ],1361 "primaryKey": {1362 "autoGenerate": false,1363 "columnNames": [1364 "catalogId",1365 "keyId"1366 ]1367 }1368 },1369 {1370 "tableName": "recipe_catalog_installed",1371 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`catalogId` TEXT NOT NULL, `stableId` TEXT NOT NULL, `catalogRevision` INTEGER NOT NULL, `releaseVersion` TEXT NOT NULL, `sha256` TEXT NOT NULL, `sizeBytes` INTEGER NOT NULL, `artifactBytes` BLOB NOT NULL, `sourceId` INTEGER, PRIMARY KEY(`catalogId`, `stableId`))",1372 "fields": [1373 {1374 "fieldPath": "catalogId",1375 "columnName": "catalogId",1376 "affinity": "TEXT",1377 "notNull": true1378 },1379 {1380 "fieldPath": "stableId",1381 "columnName": "stableId",1382 "affinity": "TEXT",1383 "notNull": true1384 },1385 {1386 "fieldPath": "catalogRevision",1387 "columnName": "catalogRevision",1388 "affinity": "INTEGER",1389 "notNull": true1390 },1391 {1392 "fieldPath": "releaseVersion",1393 "columnName": "releaseVersion",1394 "affinity": "TEXT",1395 "notNull": true1396 },1397 {1398 "fieldPath": "sha256",1399 "columnName": "sha256",1400 "affinity": "TEXT",1401 "notNull": true1402 },1403 {1404 "fieldPath": "sizeBytes",1405 "columnName": "sizeBytes",1406 "affinity": "INTEGER",1407 "notNull": true1408 },1409 {1410 "fieldPath": "artifactBytes",1411 "columnName": "artifactBytes",1412 "affinity": "BLOB",1413 "notNull": true1414 },1415 {1416 "fieldPath": "sourceId",1417 "columnName": "sourceId",1418 "affinity": "INTEGER"1419 }1420 ],1421 "primaryKey": {1422 "autoGenerate": false,1423 "columnNames": [1424 "catalogId",1425 "stableId"1426 ]1427 }1428 }1429 ],1430 "setupQueries": [1431 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",1432 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '034831b87844c47f0b69694b5cc60b08')"1433 ]1434 }1435}