85.json 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 85,
  5. "identityHash": "2d24b9210a36150f221156d2e8f59665",
  6. "entities": [
  7. {
  8. "tableName": "arbitrary_data",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `cloud_id` TEXT, `key` TEXT, `value` TEXT)",
  10. "fields": [
  11. {
  12. "fieldPath": "id",
  13. "columnName": "_id",
  14. "affinity": "INTEGER",
  15. "notNull": false
  16. },
  17. {
  18. "fieldPath": "cloudId",
  19. "columnName": "cloud_id",
  20. "affinity": "TEXT",
  21. "notNull": false
  22. },
  23. {
  24. "fieldPath": "key",
  25. "columnName": "key",
  26. "affinity": "TEXT",
  27. "notNull": false
  28. },
  29. {
  30. "fieldPath": "value",
  31. "columnName": "value",
  32. "affinity": "TEXT",
  33. "notNull": false
  34. }
  35. ],
  36. "primaryKey": {
  37. "autoGenerate": true,
  38. "columnNames": [
  39. "_id"
  40. ]
  41. },
  42. "indices": [],
  43. "foreignKeys": []
  44. },
  45. {
  46. "tableName": "capabilities",
  47. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `assistant` INTEGER, `account` TEXT, `version_mayor` INTEGER, `version_minor` INTEGER, `version_micro` INTEGER, `version_string` TEXT, `version_edition` TEXT, `extended_support` INTEGER, `core_pollinterval` INTEGER, `sharing_api_enabled` INTEGER, `sharing_public_enabled` INTEGER, `sharing_public_password_enforced` INTEGER, `sharing_public_expire_date_enabled` INTEGER, `sharing_public_expire_date_days` INTEGER, `sharing_public_expire_date_enforced` INTEGER, `sharing_public_send_mail` INTEGER, `sharing_public_upload` INTEGER, `sharing_user_send_mail` INTEGER, `sharing_resharing` INTEGER, `sharing_federation_outgoing` INTEGER, `sharing_federation_incoming` INTEGER, `files_bigfilechunking` INTEGER, `files_undelete` INTEGER, `files_versioning` INTEGER, `external_links` INTEGER, `server_name` TEXT, `server_color` TEXT, `server_text_color` TEXT, `server_element_color` TEXT, `server_slogan` TEXT, `server_logo` TEXT, `background_url` TEXT, `end_to_end_encryption` INTEGER, `end_to_end_encryption_keys_exist` INTEGER, `end_to_end_encryption_api_version` TEXT, `activity` INTEGER, `background_default` INTEGER, `background_plain` INTEGER, `richdocument` INTEGER, `richdocument_mimetype_list` TEXT, `richdocument_direct_editing` INTEGER, `richdocument_direct_templates` INTEGER, `richdocument_optional_mimetype_list` TEXT, `sharing_public_ask_for_optional_password` INTEGER, `richdocument_product_name` TEXT, `direct_editing_etag` TEXT, `user_status` INTEGER, `user_status_supports_emoji` INTEGER, `etag` TEXT, `files_locking_version` TEXT, `groupfolders` INTEGER, `drop_account` INTEGER, `security_guard` INTEGER, `forbidden_filename_characters` INTEGER, `forbidden_filenames` INTEGER, `forbidden_filename_extensions` INTEGER, `forbidden_filename_basenames` INTEGER)",
  48. "fields": [
  49. {
  50. "fieldPath": "id",
  51. "columnName": "_id",
  52. "affinity": "INTEGER",
  53. "notNull": false
  54. },
  55. {
  56. "fieldPath": "assistant",
  57. "columnName": "assistant",
  58. "affinity": "INTEGER",
  59. "notNull": false
  60. },
  61. {
  62. "fieldPath": "accountName",
  63. "columnName": "account",
  64. "affinity": "TEXT",
  65. "notNull": false
  66. },
  67. {
  68. "fieldPath": "versionMajor",
  69. "columnName": "version_mayor",
  70. "affinity": "INTEGER",
  71. "notNull": false
  72. },
  73. {
  74. "fieldPath": "versionMinor",
  75. "columnName": "version_minor",
  76. "affinity": "INTEGER",
  77. "notNull": false
  78. },
  79. {
  80. "fieldPath": "versionMicro",
  81. "columnName": "version_micro",
  82. "affinity": "INTEGER",
  83. "notNull": false
  84. },
  85. {
  86. "fieldPath": "versionString",
  87. "columnName": "version_string",
  88. "affinity": "TEXT",
  89. "notNull": false
  90. },
  91. {
  92. "fieldPath": "versionEditor",
  93. "columnName": "version_edition",
  94. "affinity": "TEXT",
  95. "notNull": false
  96. },
  97. {
  98. "fieldPath": "extendedSupport",
  99. "columnName": "extended_support",
  100. "affinity": "INTEGER",
  101. "notNull": false
  102. },
  103. {
  104. "fieldPath": "corePollinterval",
  105. "columnName": "core_pollinterval",
  106. "affinity": "INTEGER",
  107. "notNull": false
  108. },
  109. {
  110. "fieldPath": "sharingApiEnabled",
  111. "columnName": "sharing_api_enabled",
  112. "affinity": "INTEGER",
  113. "notNull": false
  114. },
  115. {
  116. "fieldPath": "sharingPublicEnabled",
  117. "columnName": "sharing_public_enabled",
  118. "affinity": "INTEGER",
  119. "notNull": false
  120. },
  121. {
  122. "fieldPath": "sharingPublicPasswordEnforced",
  123. "columnName": "sharing_public_password_enforced",
  124. "affinity": "INTEGER",
  125. "notNull": false
  126. },
  127. {
  128. "fieldPath": "sharingPublicExpireDateEnabled",
  129. "columnName": "sharing_public_expire_date_enabled",
  130. "affinity": "INTEGER",
  131. "notNull": false
  132. },
  133. {
  134. "fieldPath": "sharingPublicExpireDateDays",
  135. "columnName": "sharing_public_expire_date_days",
  136. "affinity": "INTEGER",
  137. "notNull": false
  138. },
  139. {
  140. "fieldPath": "sharingPublicExpireDateEnforced",
  141. "columnName": "sharing_public_expire_date_enforced",
  142. "affinity": "INTEGER",
  143. "notNull": false
  144. },
  145. {
  146. "fieldPath": "sharingPublicSendMail",
  147. "columnName": "sharing_public_send_mail",
  148. "affinity": "INTEGER",
  149. "notNull": false
  150. },
  151. {
  152. "fieldPath": "sharingPublicUpload",
  153. "columnName": "sharing_public_upload",
  154. "affinity": "INTEGER",
  155. "notNull": false
  156. },
  157. {
  158. "fieldPath": "sharingUserSendMail",
  159. "columnName": "sharing_user_send_mail",
  160. "affinity": "INTEGER",
  161. "notNull": false
  162. },
  163. {
  164. "fieldPath": "sharingResharing",
  165. "columnName": "sharing_resharing",
  166. "affinity": "INTEGER",
  167. "notNull": false
  168. },
  169. {
  170. "fieldPath": "sharingFederationOutgoing",
  171. "columnName": "sharing_federation_outgoing",
  172. "affinity": "INTEGER",
  173. "notNull": false
  174. },
  175. {
  176. "fieldPath": "sharingFederationIncoming",
  177. "columnName": "sharing_federation_incoming",
  178. "affinity": "INTEGER",
  179. "notNull": false
  180. },
  181. {
  182. "fieldPath": "filesBigfilechunking",
  183. "columnName": "files_bigfilechunking",
  184. "affinity": "INTEGER",
  185. "notNull": false
  186. },
  187. {
  188. "fieldPath": "filesUndelete",
  189. "columnName": "files_undelete",
  190. "affinity": "INTEGER",
  191. "notNull": false
  192. },
  193. {
  194. "fieldPath": "filesVersioning",
  195. "columnName": "files_versioning",
  196. "affinity": "INTEGER",
  197. "notNull": false
  198. },
  199. {
  200. "fieldPath": "externalLinks",
  201. "columnName": "external_links",
  202. "affinity": "INTEGER",
  203. "notNull": false
  204. },
  205. {
  206. "fieldPath": "serverName",
  207. "columnName": "server_name",
  208. "affinity": "TEXT",
  209. "notNull": false
  210. },
  211. {
  212. "fieldPath": "serverColor",
  213. "columnName": "server_color",
  214. "affinity": "TEXT",
  215. "notNull": false
  216. },
  217. {
  218. "fieldPath": "serverTextColor",
  219. "columnName": "server_text_color",
  220. "affinity": "TEXT",
  221. "notNull": false
  222. },
  223. {
  224. "fieldPath": "serverElementColor",
  225. "columnName": "server_element_color",
  226. "affinity": "TEXT",
  227. "notNull": false
  228. },
  229. {
  230. "fieldPath": "serverSlogan",
  231. "columnName": "server_slogan",
  232. "affinity": "TEXT",
  233. "notNull": false
  234. },
  235. {
  236. "fieldPath": "serverLogo",
  237. "columnName": "server_logo",
  238. "affinity": "TEXT",
  239. "notNull": false
  240. },
  241. {
  242. "fieldPath": "serverBackgroundUrl",
  243. "columnName": "background_url",
  244. "affinity": "TEXT",
  245. "notNull": false
  246. },
  247. {
  248. "fieldPath": "endToEndEncryption",
  249. "columnName": "end_to_end_encryption",
  250. "affinity": "INTEGER",
  251. "notNull": false
  252. },
  253. {
  254. "fieldPath": "endToEndEncryptionKeysExist",
  255. "columnName": "end_to_end_encryption_keys_exist",
  256. "affinity": "INTEGER",
  257. "notNull": false
  258. },
  259. {
  260. "fieldPath": "endToEndEncryptionApiVersion",
  261. "columnName": "end_to_end_encryption_api_version",
  262. "affinity": "TEXT",
  263. "notNull": false
  264. },
  265. {
  266. "fieldPath": "activity",
  267. "columnName": "activity",
  268. "affinity": "INTEGER",
  269. "notNull": false
  270. },
  271. {
  272. "fieldPath": "serverBackgroundDefault",
  273. "columnName": "background_default",
  274. "affinity": "INTEGER",
  275. "notNull": false
  276. },
  277. {
  278. "fieldPath": "serverBackgroundPlain",
  279. "columnName": "background_plain",
  280. "affinity": "INTEGER",
  281. "notNull": false
  282. },
  283. {
  284. "fieldPath": "richdocument",
  285. "columnName": "richdocument",
  286. "affinity": "INTEGER",
  287. "notNull": false
  288. },
  289. {
  290. "fieldPath": "richdocumentMimetypeList",
  291. "columnName": "richdocument_mimetype_list",
  292. "affinity": "TEXT",
  293. "notNull": false
  294. },
  295. {
  296. "fieldPath": "richdocumentDirectEditing",
  297. "columnName": "richdocument_direct_editing",
  298. "affinity": "INTEGER",
  299. "notNull": false
  300. },
  301. {
  302. "fieldPath": "richdocumentTemplates",
  303. "columnName": "richdocument_direct_templates",
  304. "affinity": "INTEGER",
  305. "notNull": false
  306. },
  307. {
  308. "fieldPath": "richdocumentOptionalMimetypeList",
  309. "columnName": "richdocument_optional_mimetype_list",
  310. "affinity": "TEXT",
  311. "notNull": false
  312. },
  313. {
  314. "fieldPath": "sharingPublicAskForOptionalPassword",
  315. "columnName": "sharing_public_ask_for_optional_password",
  316. "affinity": "INTEGER",
  317. "notNull": false
  318. },
  319. {
  320. "fieldPath": "richdocumentProductName",
  321. "columnName": "richdocument_product_name",
  322. "affinity": "TEXT",
  323. "notNull": false
  324. },
  325. {
  326. "fieldPath": "directEditingEtag",
  327. "columnName": "direct_editing_etag",
  328. "affinity": "TEXT",
  329. "notNull": false
  330. },
  331. {
  332. "fieldPath": "userStatus",
  333. "columnName": "user_status",
  334. "affinity": "INTEGER",
  335. "notNull": false
  336. },
  337. {
  338. "fieldPath": "userStatusSupportsEmoji",
  339. "columnName": "user_status_supports_emoji",
  340. "affinity": "INTEGER",
  341. "notNull": false
  342. },
  343. {
  344. "fieldPath": "etag",
  345. "columnName": "etag",
  346. "affinity": "TEXT",
  347. "notNull": false
  348. },
  349. {
  350. "fieldPath": "filesLockingVersion",
  351. "columnName": "files_locking_version",
  352. "affinity": "TEXT",
  353. "notNull": false
  354. },
  355. {
  356. "fieldPath": "groupfolders",
  357. "columnName": "groupfolders",
  358. "affinity": "INTEGER",
  359. "notNull": false
  360. },
  361. {
  362. "fieldPath": "dropAccount",
  363. "columnName": "drop_account",
  364. "affinity": "INTEGER",
  365. "notNull": false
  366. },
  367. {
  368. "fieldPath": "securityGuard",
  369. "columnName": "security_guard",
  370. "affinity": "INTEGER",
  371. "notNull": false
  372. },
  373. {
  374. "fieldPath": "forbiddenFileNameCharacters",
  375. "columnName": "forbidden_filename_characters",
  376. "affinity": "INTEGER",
  377. "notNull": false
  378. },
  379. {
  380. "fieldPath": "forbiddenFileNames",
  381. "columnName": "forbidden_filenames",
  382. "affinity": "INTEGER",
  383. "notNull": false
  384. },
  385. {
  386. "fieldPath": "forbiddenFileNameExtensions",
  387. "columnName": "forbidden_filename_extensions",
  388. "affinity": "INTEGER",
  389. "notNull": false
  390. },
  391. {
  392. "fieldPath": "forbiddenFilenameBaseNames",
  393. "columnName": "forbidden_filename_basenames",
  394. "affinity": "INTEGER",
  395. "notNull": false
  396. }
  397. ],
  398. "primaryKey": {
  399. "autoGenerate": true,
  400. "columnNames": [
  401. "_id"
  402. ]
  403. },
  404. "indices": [],
  405. "foreignKeys": []
  406. },
  407. {
  408. "tableName": "external_links",
  409. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `icon_url` TEXT, `language` TEXT, `type` INTEGER, `name` TEXT, `url` TEXT, `redirect` INTEGER)",
  410. "fields": [
  411. {
  412. "fieldPath": "id",
  413. "columnName": "_id",
  414. "affinity": "INTEGER",
  415. "notNull": false
  416. },
  417. {
  418. "fieldPath": "iconUrl",
  419. "columnName": "icon_url",
  420. "affinity": "TEXT",
  421. "notNull": false
  422. },
  423. {
  424. "fieldPath": "language",
  425. "columnName": "language",
  426. "affinity": "TEXT",
  427. "notNull": false
  428. },
  429. {
  430. "fieldPath": "type",
  431. "columnName": "type",
  432. "affinity": "INTEGER",
  433. "notNull": false
  434. },
  435. {
  436. "fieldPath": "name",
  437. "columnName": "name",
  438. "affinity": "TEXT",
  439. "notNull": false
  440. },
  441. {
  442. "fieldPath": "url",
  443. "columnName": "url",
  444. "affinity": "TEXT",
  445. "notNull": false
  446. },
  447. {
  448. "fieldPath": "redirect",
  449. "columnName": "redirect",
  450. "affinity": "INTEGER",
  451. "notNull": false
  452. }
  453. ],
  454. "primaryKey": {
  455. "autoGenerate": true,
  456. "columnNames": [
  457. "_id"
  458. ]
  459. },
  460. "indices": [],
  461. "foreignKeys": []
  462. },
  463. {
  464. "tableName": "filelist",
  465. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `filename` TEXT, `encrypted_filename` TEXT, `path` TEXT, `path_decrypted` TEXT, `parent` INTEGER, `created` INTEGER, `modified` INTEGER, `content_type` TEXT, `content_length` INTEGER, `media_path` TEXT, `file_owner` TEXT, `last_sync_date` INTEGER, `last_sync_date_for_data` INTEGER, `modified_at_last_sync_for_data` INTEGER, `etag` TEXT, `etag_on_server` TEXT, `share_by_link` INTEGER, `permissions` TEXT, `remote_id` TEXT, `local_id` INTEGER NOT NULL DEFAULT -1, `update_thumbnail` INTEGER, `is_downloading` INTEGER, `favorite` INTEGER, `hidden` INTEGER, `is_encrypted` INTEGER, `etag_in_conflict` TEXT, `shared_via_users` INTEGER, `mount_type` INTEGER, `has_preview` INTEGER, `unread_comments_count` INTEGER, `owner_id` TEXT, `owner_display_name` TEXT, `note` TEXT, `sharees` TEXT, `rich_workspace` TEXT, `metadata_size` TEXT, `metadata_live_photo` TEXT, `locked` INTEGER, `lock_type` INTEGER, `lock_owner` TEXT, `lock_owner_display_name` TEXT, `lock_owner_editor` TEXT, `lock_timestamp` INTEGER, `lock_timeout` INTEGER, `lock_token` TEXT, `tags` TEXT, `metadata_gps` TEXT, `e2e_counter` INTEGER, `internal_two_way_sync_timestamp` INTEGER, `internal_two_way_sync_result` TEXT)",
  466. "fields": [
  467. {
  468. "fieldPath": "id",
  469. "columnName": "_id",
  470. "affinity": "INTEGER",
  471. "notNull": false
  472. },
  473. {
  474. "fieldPath": "name",
  475. "columnName": "filename",
  476. "affinity": "TEXT",
  477. "notNull": false
  478. },
  479. {
  480. "fieldPath": "encryptedName",
  481. "columnName": "encrypted_filename",
  482. "affinity": "TEXT",
  483. "notNull": false
  484. },
  485. {
  486. "fieldPath": "path",
  487. "columnName": "path",
  488. "affinity": "TEXT",
  489. "notNull": false
  490. },
  491. {
  492. "fieldPath": "pathDecrypted",
  493. "columnName": "path_decrypted",
  494. "affinity": "TEXT",
  495. "notNull": false
  496. },
  497. {
  498. "fieldPath": "parent",
  499. "columnName": "parent",
  500. "affinity": "INTEGER",
  501. "notNull": false
  502. },
  503. {
  504. "fieldPath": "creation",
  505. "columnName": "created",
  506. "affinity": "INTEGER",
  507. "notNull": false
  508. },
  509. {
  510. "fieldPath": "modified",
  511. "columnName": "modified",
  512. "affinity": "INTEGER",
  513. "notNull": false
  514. },
  515. {
  516. "fieldPath": "contentType",
  517. "columnName": "content_type",
  518. "affinity": "TEXT",
  519. "notNull": false
  520. },
  521. {
  522. "fieldPath": "contentLength",
  523. "columnName": "content_length",
  524. "affinity": "INTEGER",
  525. "notNull": false
  526. },
  527. {
  528. "fieldPath": "storagePath",
  529. "columnName": "media_path",
  530. "affinity": "TEXT",
  531. "notNull": false
  532. },
  533. {
  534. "fieldPath": "accountOwner",
  535. "columnName": "file_owner",
  536. "affinity": "TEXT",
  537. "notNull": false
  538. },
  539. {
  540. "fieldPath": "lastSyncDate",
  541. "columnName": "last_sync_date",
  542. "affinity": "INTEGER",
  543. "notNull": false
  544. },
  545. {
  546. "fieldPath": "lastSyncDateForData",
  547. "columnName": "last_sync_date_for_data",
  548. "affinity": "INTEGER",
  549. "notNull": false
  550. },
  551. {
  552. "fieldPath": "modifiedAtLastSyncForData",
  553. "columnName": "modified_at_last_sync_for_data",
  554. "affinity": "INTEGER",
  555. "notNull": false
  556. },
  557. {
  558. "fieldPath": "etag",
  559. "columnName": "etag",
  560. "affinity": "TEXT",
  561. "notNull": false
  562. },
  563. {
  564. "fieldPath": "etagOnServer",
  565. "columnName": "etag_on_server",
  566. "affinity": "TEXT",
  567. "notNull": false
  568. },
  569. {
  570. "fieldPath": "sharedViaLink",
  571. "columnName": "share_by_link",
  572. "affinity": "INTEGER",
  573. "notNull": false
  574. },
  575. {
  576. "fieldPath": "permissions",
  577. "columnName": "permissions",
  578. "affinity": "TEXT",
  579. "notNull": false
  580. },
  581. {
  582. "fieldPath": "remoteId",
  583. "columnName": "remote_id",
  584. "affinity": "TEXT",
  585. "notNull": false
  586. },
  587. {
  588. "fieldPath": "localId",
  589. "columnName": "local_id",
  590. "affinity": "INTEGER",
  591. "notNull": true,
  592. "defaultValue": "-1"
  593. },
  594. {
  595. "fieldPath": "updateThumbnail",
  596. "columnName": "update_thumbnail",
  597. "affinity": "INTEGER",
  598. "notNull": false
  599. },
  600. {
  601. "fieldPath": "isDownloading",
  602. "columnName": "is_downloading",
  603. "affinity": "INTEGER",
  604. "notNull": false
  605. },
  606. {
  607. "fieldPath": "favorite",
  608. "columnName": "favorite",
  609. "affinity": "INTEGER",
  610. "notNull": false
  611. },
  612. {
  613. "fieldPath": "hidden",
  614. "columnName": "hidden",
  615. "affinity": "INTEGER",
  616. "notNull": false
  617. },
  618. {
  619. "fieldPath": "isEncrypted",
  620. "columnName": "is_encrypted",
  621. "affinity": "INTEGER",
  622. "notNull": false
  623. },
  624. {
  625. "fieldPath": "etagInConflict",
  626. "columnName": "etag_in_conflict",
  627. "affinity": "TEXT",
  628. "notNull": false
  629. },
  630. {
  631. "fieldPath": "sharedWithSharee",
  632. "columnName": "shared_via_users",
  633. "affinity": "INTEGER",
  634. "notNull": false
  635. },
  636. {
  637. "fieldPath": "mountType",
  638. "columnName": "mount_type",
  639. "affinity": "INTEGER",
  640. "notNull": false
  641. },
  642. {
  643. "fieldPath": "hasPreview",
  644. "columnName": "has_preview",
  645. "affinity": "INTEGER",
  646. "notNull": false
  647. },
  648. {
  649. "fieldPath": "unreadCommentsCount",
  650. "columnName": "unread_comments_count",
  651. "affinity": "INTEGER",
  652. "notNull": false
  653. },
  654. {
  655. "fieldPath": "ownerId",
  656. "columnName": "owner_id",
  657. "affinity": "TEXT",
  658. "notNull": false
  659. },
  660. {
  661. "fieldPath": "ownerDisplayName",
  662. "columnName": "owner_display_name",
  663. "affinity": "TEXT",
  664. "notNull": false
  665. },
  666. {
  667. "fieldPath": "note",
  668. "columnName": "note",
  669. "affinity": "TEXT",
  670. "notNull": false
  671. },
  672. {
  673. "fieldPath": "sharees",
  674. "columnName": "sharees",
  675. "affinity": "TEXT",
  676. "notNull": false
  677. },
  678. {
  679. "fieldPath": "richWorkspace",
  680. "columnName": "rich_workspace",
  681. "affinity": "TEXT",
  682. "notNull": false
  683. },
  684. {
  685. "fieldPath": "metadataSize",
  686. "columnName": "metadata_size",
  687. "affinity": "TEXT",
  688. "notNull": false
  689. },
  690. {
  691. "fieldPath": "metadataLivePhoto",
  692. "columnName": "metadata_live_photo",
  693. "affinity": "TEXT",
  694. "notNull": false
  695. },
  696. {
  697. "fieldPath": "locked",
  698. "columnName": "locked",
  699. "affinity": "INTEGER",
  700. "notNull": false
  701. },
  702. {
  703. "fieldPath": "lockType",
  704. "columnName": "lock_type",
  705. "affinity": "INTEGER",
  706. "notNull": false
  707. },
  708. {
  709. "fieldPath": "lockOwner",
  710. "columnName": "lock_owner",
  711. "affinity": "TEXT",
  712. "notNull": false
  713. },
  714. {
  715. "fieldPath": "lockOwnerDisplayName",
  716. "columnName": "lock_owner_display_name",
  717. "affinity": "TEXT",
  718. "notNull": false
  719. },
  720. {
  721. "fieldPath": "lockOwnerEditor",
  722. "columnName": "lock_owner_editor",
  723. "affinity": "TEXT",
  724. "notNull": false
  725. },
  726. {
  727. "fieldPath": "lockTimestamp",
  728. "columnName": "lock_timestamp",
  729. "affinity": "INTEGER",
  730. "notNull": false
  731. },
  732. {
  733. "fieldPath": "lockTimeout",
  734. "columnName": "lock_timeout",
  735. "affinity": "INTEGER",
  736. "notNull": false
  737. },
  738. {
  739. "fieldPath": "lockToken",
  740. "columnName": "lock_token",
  741. "affinity": "TEXT",
  742. "notNull": false
  743. },
  744. {
  745. "fieldPath": "tags",
  746. "columnName": "tags",
  747. "affinity": "TEXT",
  748. "notNull": false
  749. },
  750. {
  751. "fieldPath": "metadataGPS",
  752. "columnName": "metadata_gps",
  753. "affinity": "TEXT",
  754. "notNull": false
  755. },
  756. {
  757. "fieldPath": "e2eCounter",
  758. "columnName": "e2e_counter",
  759. "affinity": "INTEGER",
  760. "notNull": false
  761. },
  762. {
  763. "fieldPath": "internalTwoWaySync",
  764. "columnName": "internal_two_way_sync_timestamp",
  765. "affinity": "INTEGER",
  766. "notNull": false
  767. },
  768. {
  769. "fieldPath": "internalTwoWaySyncResult",
  770. "columnName": "internal_two_way_sync_result",
  771. "affinity": "TEXT",
  772. "notNull": false
  773. }
  774. ],
  775. "primaryKey": {
  776. "autoGenerate": true,
  777. "columnNames": [
  778. "_id"
  779. ]
  780. },
  781. "indices": [],
  782. "foreignKeys": []
  783. },
  784. {
  785. "tableName": "filesystem",
  786. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `local_path` TEXT, `is_folder` INTEGER, `found_at` INTEGER, `upload_triggered` INTEGER, `syncedfolder_id` TEXT, `crc32` TEXT, `modified_at` INTEGER)",
  787. "fields": [
  788. {
  789. "fieldPath": "id",
  790. "columnName": "_id",
  791. "affinity": "INTEGER",
  792. "notNull": false
  793. },
  794. {
  795. "fieldPath": "localPath",
  796. "columnName": "local_path",
  797. "affinity": "TEXT",
  798. "notNull": false
  799. },
  800. {
  801. "fieldPath": "fileIsFolder",
  802. "columnName": "is_folder",
  803. "affinity": "INTEGER",
  804. "notNull": false
  805. },
  806. {
  807. "fieldPath": "fileFoundRecently",
  808. "columnName": "found_at",
  809. "affinity": "INTEGER",
  810. "notNull": false
  811. },
  812. {
  813. "fieldPath": "fileSentForUpload",
  814. "columnName": "upload_triggered",
  815. "affinity": "INTEGER",
  816. "notNull": false
  817. },
  818. {
  819. "fieldPath": "syncedFolderId",
  820. "columnName": "syncedfolder_id",
  821. "affinity": "TEXT",
  822. "notNull": false
  823. },
  824. {
  825. "fieldPath": "crc32",
  826. "columnName": "crc32",
  827. "affinity": "TEXT",
  828. "notNull": false
  829. },
  830. {
  831. "fieldPath": "fileModified",
  832. "columnName": "modified_at",
  833. "affinity": "INTEGER",
  834. "notNull": false
  835. }
  836. ],
  837. "primaryKey": {
  838. "autoGenerate": true,
  839. "columnNames": [
  840. "_id"
  841. ]
  842. },
  843. "indices": [],
  844. "foreignKeys": []
  845. },
  846. {
  847. "tableName": "ocshares",
  848. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `file_source` INTEGER, `item_source` INTEGER, `share_type` INTEGER, `shate_with` TEXT, `path` TEXT, `permissions` INTEGER, `shared_date` INTEGER, `expiration_date` INTEGER, `token` TEXT, `shared_with_display_name` TEXT, `is_directory` INTEGER, `user_id` TEXT, `id_remote_shared` INTEGER, `owner_share` TEXT, `is_password_protected` INTEGER, `note` TEXT, `hide_download` INTEGER, `share_link` TEXT, `share_label` TEXT)",
  849. "fields": [
  850. {
  851. "fieldPath": "id",
  852. "columnName": "_id",
  853. "affinity": "INTEGER",
  854. "notNull": false
  855. },
  856. {
  857. "fieldPath": "fileSource",
  858. "columnName": "file_source",
  859. "affinity": "INTEGER",
  860. "notNull": false
  861. },
  862. {
  863. "fieldPath": "itemSource",
  864. "columnName": "item_source",
  865. "affinity": "INTEGER",
  866. "notNull": false
  867. },
  868. {
  869. "fieldPath": "shareType",
  870. "columnName": "share_type",
  871. "affinity": "INTEGER",
  872. "notNull": false
  873. },
  874. {
  875. "fieldPath": "shareWith",
  876. "columnName": "shate_with",
  877. "affinity": "TEXT",
  878. "notNull": false
  879. },
  880. {
  881. "fieldPath": "path",
  882. "columnName": "path",
  883. "affinity": "TEXT",
  884. "notNull": false
  885. },
  886. {
  887. "fieldPath": "permissions",
  888. "columnName": "permissions",
  889. "affinity": "INTEGER",
  890. "notNull": false
  891. },
  892. {
  893. "fieldPath": "sharedDate",
  894. "columnName": "shared_date",
  895. "affinity": "INTEGER",
  896. "notNull": false
  897. },
  898. {
  899. "fieldPath": "expirationDate",
  900. "columnName": "expiration_date",
  901. "affinity": "INTEGER",
  902. "notNull": false
  903. },
  904. {
  905. "fieldPath": "token",
  906. "columnName": "token",
  907. "affinity": "TEXT",
  908. "notNull": false
  909. },
  910. {
  911. "fieldPath": "shareWithDisplayName",
  912. "columnName": "shared_with_display_name",
  913. "affinity": "TEXT",
  914. "notNull": false
  915. },
  916. {
  917. "fieldPath": "isDirectory",
  918. "columnName": "is_directory",
  919. "affinity": "INTEGER",
  920. "notNull": false
  921. },
  922. {
  923. "fieldPath": "userId",
  924. "columnName": "user_id",
  925. "affinity": "TEXT",
  926. "notNull": false
  927. },
  928. {
  929. "fieldPath": "idRemoteShared",
  930. "columnName": "id_remote_shared",
  931. "affinity": "INTEGER",
  932. "notNull": false
  933. },
  934. {
  935. "fieldPath": "accountOwner",
  936. "columnName": "owner_share",
  937. "affinity": "TEXT",
  938. "notNull": false
  939. },
  940. {
  941. "fieldPath": "isPasswordProtected",
  942. "columnName": "is_password_protected",
  943. "affinity": "INTEGER",
  944. "notNull": false
  945. },
  946. {
  947. "fieldPath": "note",
  948. "columnName": "note",
  949. "affinity": "TEXT",
  950. "notNull": false
  951. },
  952. {
  953. "fieldPath": "hideDownload",
  954. "columnName": "hide_download",
  955. "affinity": "INTEGER",
  956. "notNull": false
  957. },
  958. {
  959. "fieldPath": "shareLink",
  960. "columnName": "share_link",
  961. "affinity": "TEXT",
  962. "notNull": false
  963. },
  964. {
  965. "fieldPath": "shareLabel",
  966. "columnName": "share_label",
  967. "affinity": "TEXT",
  968. "notNull": false
  969. }
  970. ],
  971. "primaryKey": {
  972. "autoGenerate": true,
  973. "columnNames": [
  974. "_id"
  975. ]
  976. },
  977. "indices": [],
  978. "foreignKeys": []
  979. },
  980. {
  981. "tableName": "synced_folders",
  982. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `local_path` TEXT, `remote_path` TEXT, `wifi_only` INTEGER, `charging_only` INTEGER, `existing` INTEGER, `enabled` INTEGER, `enabled_timestamp_ms` INTEGER, `subfolder_by_date` INTEGER, `account` TEXT, `upload_option` INTEGER, `name_collision_policy` INTEGER, `type` INTEGER, `hidden` INTEGER, `sub_folder_rule` INTEGER, `exclude_hidden` INTEGER, `last_scan_timestamp_ms` INTEGER)",
  983. "fields": [
  984. {
  985. "fieldPath": "id",
  986. "columnName": "_id",
  987. "affinity": "INTEGER",
  988. "notNull": false
  989. },
  990. {
  991. "fieldPath": "localPath",
  992. "columnName": "local_path",
  993. "affinity": "TEXT",
  994. "notNull": false
  995. },
  996. {
  997. "fieldPath": "remotePath",
  998. "columnName": "remote_path",
  999. "affinity": "TEXT",
  1000. "notNull": false
  1001. },
  1002. {
  1003. "fieldPath": "wifiOnly",
  1004. "columnName": "wifi_only",
  1005. "affinity": "INTEGER",
  1006. "notNull": false
  1007. },
  1008. {
  1009. "fieldPath": "chargingOnly",
  1010. "columnName": "charging_only",
  1011. "affinity": "INTEGER",
  1012. "notNull": false
  1013. },
  1014. {
  1015. "fieldPath": "existing",
  1016. "columnName": "existing",
  1017. "affinity": "INTEGER",
  1018. "notNull": false
  1019. },
  1020. {
  1021. "fieldPath": "enabled",
  1022. "columnName": "enabled",
  1023. "affinity": "INTEGER",
  1024. "notNull": false
  1025. },
  1026. {
  1027. "fieldPath": "enabledTimestampMs",
  1028. "columnName": "enabled_timestamp_ms",
  1029. "affinity": "INTEGER",
  1030. "notNull": false
  1031. },
  1032. {
  1033. "fieldPath": "subfolderByDate",
  1034. "columnName": "subfolder_by_date",
  1035. "affinity": "INTEGER",
  1036. "notNull": false
  1037. },
  1038. {
  1039. "fieldPath": "account",
  1040. "columnName": "account",
  1041. "affinity": "TEXT",
  1042. "notNull": false
  1043. },
  1044. {
  1045. "fieldPath": "uploadAction",
  1046. "columnName": "upload_option",
  1047. "affinity": "INTEGER",
  1048. "notNull": false
  1049. },
  1050. {
  1051. "fieldPath": "nameCollisionPolicy",
  1052. "columnName": "name_collision_policy",
  1053. "affinity": "INTEGER",
  1054. "notNull": false
  1055. },
  1056. {
  1057. "fieldPath": "type",
  1058. "columnName": "type",
  1059. "affinity": "INTEGER",
  1060. "notNull": false
  1061. },
  1062. {
  1063. "fieldPath": "hidden",
  1064. "columnName": "hidden",
  1065. "affinity": "INTEGER",
  1066. "notNull": false
  1067. },
  1068. {
  1069. "fieldPath": "subFolderRule",
  1070. "columnName": "sub_folder_rule",
  1071. "affinity": "INTEGER",
  1072. "notNull": false
  1073. },
  1074. {
  1075. "fieldPath": "excludeHidden",
  1076. "columnName": "exclude_hidden",
  1077. "affinity": "INTEGER",
  1078. "notNull": false
  1079. },
  1080. {
  1081. "fieldPath": "lastScanTimestampMs",
  1082. "columnName": "last_scan_timestamp_ms",
  1083. "affinity": "INTEGER",
  1084. "notNull": false
  1085. }
  1086. ],
  1087. "primaryKey": {
  1088. "autoGenerate": true,
  1089. "columnNames": [
  1090. "_id"
  1091. ]
  1092. },
  1093. "indices": [],
  1094. "foreignKeys": []
  1095. },
  1096. {
  1097. "tableName": "list_of_uploads",
  1098. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `local_path` TEXT, `remote_path` TEXT, `account_name` TEXT, `file_size` INTEGER, `status` INTEGER, `local_behaviour` INTEGER, `upload_time` INTEGER, `name_collision_policy` INTEGER, `is_create_remote_folder` INTEGER, `upload_end_timestamp` INTEGER, `last_result` INTEGER, `is_while_charging_only` INTEGER, `is_wifi_only` INTEGER, `created_by` INTEGER, `folder_unlock_token` TEXT)",
  1099. "fields": [
  1100. {
  1101. "fieldPath": "id",
  1102. "columnName": "_id",
  1103. "affinity": "INTEGER",
  1104. "notNull": false
  1105. },
  1106. {
  1107. "fieldPath": "localPath",
  1108. "columnName": "local_path",
  1109. "affinity": "TEXT",
  1110. "notNull": false
  1111. },
  1112. {
  1113. "fieldPath": "remotePath",
  1114. "columnName": "remote_path",
  1115. "affinity": "TEXT",
  1116. "notNull": false
  1117. },
  1118. {
  1119. "fieldPath": "accountName",
  1120. "columnName": "account_name",
  1121. "affinity": "TEXT",
  1122. "notNull": false
  1123. },
  1124. {
  1125. "fieldPath": "fileSize",
  1126. "columnName": "file_size",
  1127. "affinity": "INTEGER",
  1128. "notNull": false
  1129. },
  1130. {
  1131. "fieldPath": "status",
  1132. "columnName": "status",
  1133. "affinity": "INTEGER",
  1134. "notNull": false
  1135. },
  1136. {
  1137. "fieldPath": "localBehaviour",
  1138. "columnName": "local_behaviour",
  1139. "affinity": "INTEGER",
  1140. "notNull": false
  1141. },
  1142. {
  1143. "fieldPath": "uploadTime",
  1144. "columnName": "upload_time",
  1145. "affinity": "INTEGER",
  1146. "notNull": false
  1147. },
  1148. {
  1149. "fieldPath": "nameCollisionPolicy",
  1150. "columnName": "name_collision_policy",
  1151. "affinity": "INTEGER",
  1152. "notNull": false
  1153. },
  1154. {
  1155. "fieldPath": "isCreateRemoteFolder",
  1156. "columnName": "is_create_remote_folder",
  1157. "affinity": "INTEGER",
  1158. "notNull": false
  1159. },
  1160. {
  1161. "fieldPath": "uploadEndTimestamp",
  1162. "columnName": "upload_end_timestamp",
  1163. "affinity": "INTEGER",
  1164. "notNull": false
  1165. },
  1166. {
  1167. "fieldPath": "lastResult",
  1168. "columnName": "last_result",
  1169. "affinity": "INTEGER",
  1170. "notNull": false
  1171. },
  1172. {
  1173. "fieldPath": "isWhileChargingOnly",
  1174. "columnName": "is_while_charging_only",
  1175. "affinity": "INTEGER",
  1176. "notNull": false
  1177. },
  1178. {
  1179. "fieldPath": "isWifiOnly",
  1180. "columnName": "is_wifi_only",
  1181. "affinity": "INTEGER",
  1182. "notNull": false
  1183. },
  1184. {
  1185. "fieldPath": "createdBy",
  1186. "columnName": "created_by",
  1187. "affinity": "INTEGER",
  1188. "notNull": false
  1189. },
  1190. {
  1191. "fieldPath": "folderUnlockToken",
  1192. "columnName": "folder_unlock_token",
  1193. "affinity": "TEXT",
  1194. "notNull": false
  1195. }
  1196. ],
  1197. "primaryKey": {
  1198. "autoGenerate": true,
  1199. "columnNames": [
  1200. "_id"
  1201. ]
  1202. },
  1203. "indices": [],
  1204. "foreignKeys": []
  1205. },
  1206. {
  1207. "tableName": "virtual",
  1208. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `type` TEXT, `ocfile_id` INTEGER)",
  1209. "fields": [
  1210. {
  1211. "fieldPath": "id",
  1212. "columnName": "_id",
  1213. "affinity": "INTEGER",
  1214. "notNull": false
  1215. },
  1216. {
  1217. "fieldPath": "type",
  1218. "columnName": "type",
  1219. "affinity": "TEXT",
  1220. "notNull": false
  1221. },
  1222. {
  1223. "fieldPath": "ocFileId",
  1224. "columnName": "ocfile_id",
  1225. "affinity": "INTEGER",
  1226. "notNull": false
  1227. }
  1228. ],
  1229. "primaryKey": {
  1230. "autoGenerate": true,
  1231. "columnNames": [
  1232. "_id"
  1233. ]
  1234. },
  1235. "indices": [],
  1236. "foreignKeys": []
  1237. },
  1238. {
  1239. "tableName": "offline_operations",
  1240. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`_id` INTEGER PRIMARY KEY AUTOINCREMENT, `offline_operations_parent_oc_file_id` INTEGER, `offline_operations_path` TEXT, `offline_operations_type` TEXT, `offline_operations_file_name` TEXT, `offline_operations_created_at` INTEGER, `offline_operations_modified_at` INTEGER)",
  1241. "fields": [
  1242. {
  1243. "fieldPath": "id",
  1244. "columnName": "_id",
  1245. "affinity": "INTEGER",
  1246. "notNull": false
  1247. },
  1248. {
  1249. "fieldPath": "parentOCFileId",
  1250. "columnName": "offline_operations_parent_oc_file_id",
  1251. "affinity": "INTEGER",
  1252. "notNull": false
  1253. },
  1254. {
  1255. "fieldPath": "path",
  1256. "columnName": "offline_operations_path",
  1257. "affinity": "TEXT",
  1258. "notNull": false
  1259. },
  1260. {
  1261. "fieldPath": "type",
  1262. "columnName": "offline_operations_type",
  1263. "affinity": "TEXT",
  1264. "notNull": false
  1265. },
  1266. {
  1267. "fieldPath": "filename",
  1268. "columnName": "offline_operations_file_name",
  1269. "affinity": "TEXT",
  1270. "notNull": false
  1271. },
  1272. {
  1273. "fieldPath": "createdAt",
  1274. "columnName": "offline_operations_created_at",
  1275. "affinity": "INTEGER",
  1276. "notNull": false
  1277. },
  1278. {
  1279. "fieldPath": "modifiedAt",
  1280. "columnName": "offline_operations_modified_at",
  1281. "affinity": "INTEGER",
  1282. "notNull": false
  1283. }
  1284. ],
  1285. "primaryKey": {
  1286. "autoGenerate": true,
  1287. "columnNames": [
  1288. "_id"
  1289. ]
  1290. },
  1291. "indices": [],
  1292. "foreignKeys": []
  1293. }
  1294. ],
  1295. "views": [],
  1296. "setupQueries": [
  1297. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  1298. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '2d24b9210a36150f221156d2e8f59665')"
  1299. ]
  1300. }
  1301. }