Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

799 lines
23 KiB

  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 3,
  5. "identityHash": "ec9474ecd53268ea20f0363e444d9fc1",
  6. "entities": [
  7. {
  8. "tableName": "identity",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `name` TEXT NOT NULL, `email` TEXT NOT NULL, `replyto` TEXT, `account` INTEGER NOT NULL, `host` TEXT NOT NULL, `port` INTEGER NOT NULL, `starttls` INTEGER NOT NULL, `user` TEXT NOT NULL, `password` TEXT NOT NULL, `primary` INTEGER NOT NULL, `synchronize` INTEGER NOT NULL, `store_sent` INTEGER NOT NULL, `state` TEXT, `error` TEXT, FOREIGN KEY(`account`) REFERENCES `account`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
  10. "fields": [
  11. {
  12. "fieldPath": "id",
  13. "columnName": "id",
  14. "affinity": "INTEGER",
  15. "notNull": false
  16. },
  17. {
  18. "fieldPath": "name",
  19. "columnName": "name",
  20. "affinity": "TEXT",
  21. "notNull": true
  22. },
  23. {
  24. "fieldPath": "email",
  25. "columnName": "email",
  26. "affinity": "TEXT",
  27. "notNull": true
  28. },
  29. {
  30. "fieldPath": "replyto",
  31. "columnName": "replyto",
  32. "affinity": "TEXT",
  33. "notNull": false
  34. },
  35. {
  36. "fieldPath": "account",
  37. "columnName": "account",
  38. "affinity": "INTEGER",
  39. "notNull": true
  40. },
  41. {
  42. "fieldPath": "host",
  43. "columnName": "host",
  44. "affinity": "TEXT",
  45. "notNull": true
  46. },
  47. {
  48. "fieldPath": "port",
  49. "columnName": "port",
  50. "affinity": "INTEGER",
  51. "notNull": true
  52. },
  53. {
  54. "fieldPath": "starttls",
  55. "columnName": "starttls",
  56. "affinity": "INTEGER",
  57. "notNull": true
  58. },
  59. {
  60. "fieldPath": "user",
  61. "columnName": "user",
  62. "affinity": "TEXT",
  63. "notNull": true
  64. },
  65. {
  66. "fieldPath": "password",
  67. "columnName": "password",
  68. "affinity": "TEXT",
  69. "notNull": true
  70. },
  71. {
  72. "fieldPath": "primary",
  73. "columnName": "primary",
  74. "affinity": "INTEGER",
  75. "notNull": true
  76. },
  77. {
  78. "fieldPath": "synchronize",
  79. "columnName": "synchronize",
  80. "affinity": "INTEGER",
  81. "notNull": true
  82. },
  83. {
  84. "fieldPath": "store_sent",
  85. "columnName": "store_sent",
  86. "affinity": "INTEGER",
  87. "notNull": true
  88. },
  89. {
  90. "fieldPath": "state",
  91. "columnName": "state",
  92. "affinity": "TEXT",
  93. "notNull": false
  94. },
  95. {
  96. "fieldPath": "error",
  97. "columnName": "error",
  98. "affinity": "TEXT",
  99. "notNull": false
  100. }
  101. ],
  102. "primaryKey": {
  103. "columnNames": [
  104. "id"
  105. ],
  106. "autoGenerate": true
  107. },
  108. "indices": [
  109. {
  110. "name": "index_identity_account",
  111. "unique": false,
  112. "columnNames": [
  113. "account"
  114. ],
  115. "createSql": "CREATE INDEX `index_identity_account` ON `${TABLE_NAME}` (`account`)"
  116. }
  117. ],
  118. "foreignKeys": [
  119. {
  120. "table": "account",
  121. "onDelete": "CASCADE",
  122. "onUpdate": "NO ACTION",
  123. "columns": [
  124. "account"
  125. ],
  126. "referencedColumns": [
  127. "id"
  128. ]
  129. }
  130. ]
  131. },
  132. {
  133. "tableName": "account",
  134. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `name` TEXT, `host` TEXT NOT NULL, `port` INTEGER NOT NULL, `user` TEXT NOT NULL, `password` TEXT NOT NULL, `primary` INTEGER NOT NULL, `synchronize` INTEGER NOT NULL, `store_sent` INTEGER NOT NULL, `poll_interval` INTEGER NOT NULL, `seen_until` INTEGER, `state` TEXT, `error` TEXT)",
  135. "fields": [
  136. {
  137. "fieldPath": "id",
  138. "columnName": "id",
  139. "affinity": "INTEGER",
  140. "notNull": false
  141. },
  142. {
  143. "fieldPath": "name",
  144. "columnName": "name",
  145. "affinity": "TEXT",
  146. "notNull": false
  147. },
  148. {
  149. "fieldPath": "host",
  150. "columnName": "host",
  151. "affinity": "TEXT",
  152. "notNull": true
  153. },
  154. {
  155. "fieldPath": "port",
  156. "columnName": "port",
  157. "affinity": "INTEGER",
  158. "notNull": true
  159. },
  160. {
  161. "fieldPath": "user",
  162. "columnName": "user",
  163. "affinity": "TEXT",
  164. "notNull": true
  165. },
  166. {
  167. "fieldPath": "password",
  168. "columnName": "password",
  169. "affinity": "TEXT",
  170. "notNull": true
  171. },
  172. {
  173. "fieldPath": "primary",
  174. "columnName": "primary",
  175. "affinity": "INTEGER",
  176. "notNull": true
  177. },
  178. {
  179. "fieldPath": "synchronize",
  180. "columnName": "synchronize",
  181. "affinity": "INTEGER",
  182. "notNull": true
  183. },
  184. {
  185. "fieldPath": "store_sent",
  186. "columnName": "store_sent",
  187. "affinity": "INTEGER",
  188. "notNull": true
  189. },
  190. {
  191. "fieldPath": "poll_interval",
  192. "columnName": "poll_interval",
  193. "affinity": "INTEGER",
  194. "notNull": true
  195. },
  196. {
  197. "fieldPath": "seen_until",
  198. "columnName": "seen_until",
  199. "affinity": "INTEGER",
  200. "notNull": false
  201. },
  202. {
  203. "fieldPath": "state",
  204. "columnName": "state",
  205. "affinity": "TEXT",
  206. "notNull": false
  207. },
  208. {
  209. "fieldPath": "error",
  210. "columnName": "error",
  211. "affinity": "TEXT",
  212. "notNull": false
  213. }
  214. ],
  215. "primaryKey": {
  216. "columnNames": [
  217. "id"
  218. ],
  219. "autoGenerate": true
  220. },
  221. "indices": [],
  222. "foreignKeys": []
  223. },
  224. {
  225. "tableName": "folder",
  226. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `account` INTEGER, `name` TEXT NOT NULL, `type` TEXT NOT NULL, `synchronize` INTEGER NOT NULL, `after` INTEGER NOT NULL, `state` TEXT, `error` TEXT, FOREIGN KEY(`account`) REFERENCES `account`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
  227. "fields": [
  228. {
  229. "fieldPath": "id",
  230. "columnName": "id",
  231. "affinity": "INTEGER",
  232. "notNull": false
  233. },
  234. {
  235. "fieldPath": "account",
  236. "columnName": "account",
  237. "affinity": "INTEGER",
  238. "notNull": false
  239. },
  240. {
  241. "fieldPath": "name",
  242. "columnName": "name",
  243. "affinity": "TEXT",
  244. "notNull": true
  245. },
  246. {
  247. "fieldPath": "type",
  248. "columnName": "type",
  249. "affinity": "TEXT",
  250. "notNull": true
  251. },
  252. {
  253. "fieldPath": "synchronize",
  254. "columnName": "synchronize",
  255. "affinity": "INTEGER",
  256. "notNull": true
  257. },
  258. {
  259. "fieldPath": "after",
  260. "columnName": "after",
  261. "affinity": "INTEGER",
  262. "notNull": true
  263. },
  264. {
  265. "fieldPath": "state",
  266. "columnName": "state",
  267. "affinity": "TEXT",
  268. "notNull": false
  269. },
  270. {
  271. "fieldPath": "error",
  272. "columnName": "error",
  273. "affinity": "TEXT",
  274. "notNull": false
  275. }
  276. ],
  277. "primaryKey": {
  278. "columnNames": [
  279. "id"
  280. ],
  281. "autoGenerate": true
  282. },
  283. "indices": [
  284. {
  285. "name": "index_folder_account_name",
  286. "unique": true,
  287. "columnNames": [
  288. "account",
  289. "name"
  290. ],
  291. "createSql": "CREATE UNIQUE INDEX `index_folder_account_name` ON `${TABLE_NAME}` (`account`, `name`)"
  292. },
  293. {
  294. "name": "index_folder_account",
  295. "unique": false,
  296. "columnNames": [
  297. "account"
  298. ],
  299. "createSql": "CREATE INDEX `index_folder_account` ON `${TABLE_NAME}` (`account`)"
  300. },
  301. {
  302. "name": "index_folder_name",
  303. "unique": false,
  304. "columnNames": [
  305. "name"
  306. ],
  307. "createSql": "CREATE INDEX `index_folder_name` ON `${TABLE_NAME}` (`name`)"
  308. },
  309. {
  310. "name": "index_folder_type",
  311. "unique": false,
  312. "columnNames": [
  313. "type"
  314. ],
  315. "createSql": "CREATE INDEX `index_folder_type` ON `${TABLE_NAME}` (`type`)"
  316. }
  317. ],
  318. "foreignKeys": [
  319. {
  320. "table": "account",
  321. "onDelete": "CASCADE",
  322. "onUpdate": "NO ACTION",
  323. "columns": [
  324. "account"
  325. ],
  326. "referencedColumns": [
  327. "id"
  328. ]
  329. }
  330. ]
  331. },
  332. {
  333. "tableName": "message",
  334. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `account` INTEGER, `folder` INTEGER NOT NULL, `identity` INTEGER, `replying` INTEGER, `uid` INTEGER, `msgid` TEXT, `references` TEXT, `inreplyto` TEXT, `thread` TEXT, `from` TEXT, `to` TEXT, `cc` TEXT, `bcc` TEXT, `reply` TEXT, `subject` TEXT, `sent` INTEGER, `received` INTEGER NOT NULL, `stored` INTEGER NOT NULL, `seen` INTEGER NOT NULL, `ui_seen` INTEGER NOT NULL, `ui_hide` INTEGER NOT NULL, `error` TEXT, FOREIGN KEY(`account`) REFERENCES `account`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`folder`) REFERENCES `folder`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`identity`) REFERENCES `identity`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`replying`) REFERENCES `message`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
  335. "fields": [
  336. {
  337. "fieldPath": "id",
  338. "columnName": "id",
  339. "affinity": "INTEGER",
  340. "notNull": false
  341. },
  342. {
  343. "fieldPath": "account",
  344. "columnName": "account",
  345. "affinity": "INTEGER",
  346. "notNull": false
  347. },
  348. {
  349. "fieldPath": "folder",
  350. "columnName": "folder",
  351. "affinity": "INTEGER",
  352. "notNull": true
  353. },
  354. {
  355. "fieldPath": "identity",
  356. "columnName": "identity",
  357. "affinity": "INTEGER",
  358. "notNull": false
  359. },
  360. {
  361. "fieldPath": "replying",
  362. "columnName": "replying",
  363. "affinity": "INTEGER",
  364. "notNull": false
  365. },
  366. {
  367. "fieldPath": "uid",
  368. "columnName": "uid",
  369. "affinity": "INTEGER",
  370. "notNull": false
  371. },
  372. {
  373. "fieldPath": "msgid",
  374. "columnName": "msgid",
  375. "affinity": "TEXT",
  376. "notNull": false
  377. },
  378. {
  379. "fieldPath": "references",
  380. "columnName": "references",
  381. "affinity": "TEXT",
  382. "notNull": false
  383. },
  384. {
  385. "fieldPath": "inreplyto",
  386. "columnName": "inreplyto",
  387. "affinity": "TEXT",
  388. "notNull": false
  389. },
  390. {
  391. "fieldPath": "thread",
  392. "columnName": "thread",
  393. "affinity": "TEXT",
  394. "notNull": false
  395. },
  396. {
  397. "fieldPath": "from",
  398. "columnName": "from",
  399. "affinity": "TEXT",
  400. "notNull": false
  401. },
  402. {
  403. "fieldPath": "to",
  404. "columnName": "to",
  405. "affinity": "TEXT",
  406. "notNull": false
  407. },
  408. {
  409. "fieldPath": "cc",
  410. "columnName": "cc",
  411. "affinity": "TEXT",
  412. "notNull": false
  413. },
  414. {
  415. "fieldPath": "bcc",
  416. "columnName": "bcc",
  417. "affinity": "TEXT",
  418. "notNull": false
  419. },
  420. {
  421. "fieldPath": "reply",
  422. "columnName": "reply",
  423. "affinity": "TEXT",
  424. "notNull": false
  425. },
  426. {
  427. "fieldPath": "subject",
  428. "columnName": "subject",
  429. "affinity": "TEXT",
  430. "notNull": false
  431. },
  432. {
  433. "fieldPath": "sent",
  434. "columnName": "sent",
  435. "affinity": "INTEGER",
  436. "notNull": false
  437. },
  438. {
  439. "fieldPath": "received",
  440. "columnName": "received",
  441. "affinity": "INTEGER",
  442. "notNull": true
  443. },
  444. {
  445. "fieldPath": "stored",
  446. "columnName": "stored",
  447. "affinity": "INTEGER",
  448. "notNull": true
  449. },
  450. {
  451. "fieldPath": "seen",
  452. "columnName": "seen",
  453. "affinity": "INTEGER",
  454. "notNull": true
  455. },
  456. {
  457. "fieldPath": "ui_seen",
  458. "columnName": "ui_seen",
  459. "affinity": "INTEGER",
  460. "notNull": true
  461. },
  462. {
  463. "fieldPath": "ui_hide",
  464. "columnName": "ui_hide",
  465. "affinity": "INTEGER",
  466. "notNull": true
  467. },
  468. {
  469. "fieldPath": "error",
  470. "columnName": "error",
  471. "affinity": "TEXT",
  472. "notNull": false
  473. }
  474. ],
  475. "primaryKey": {
  476. "columnNames": [
  477. "id"
  478. ],
  479. "autoGenerate": true
  480. },
  481. "indices": [
  482. {
  483. "name": "index_message_account",
  484. "unique": false,
  485. "columnNames": [
  486. "account"
  487. ],
  488. "createSql": "CREATE INDEX `index_message_account` ON `${TABLE_NAME}` (`account`)"
  489. },
  490. {
  491. "name": "index_message_folder",
  492. "unique": false,
  493. "columnNames": [
  494. "folder"
  495. ],
  496. "createSql": "CREATE INDEX `index_message_folder` ON `${TABLE_NAME}` (`folder`)"
  497. },
  498. {
  499. "name": "index_message_identity",
  500. "unique": false,
  501. "columnNames": [
  502. "identity"
  503. ],
  504. "createSql": "CREATE INDEX `index_message_identity` ON `${TABLE_NAME}` (`identity`)"
  505. },
  506. {
  507. "name": "index_message_replying",
  508. "unique": false,
  509. "columnNames": [
  510. "replying"
  511. ],
  512. "createSql": "CREATE INDEX `index_message_replying` ON `${TABLE_NAME}` (`replying`)"
  513. },
  514. {
  515. "name": "index_message_folder_uid",
  516. "unique": true,
  517. "columnNames": [
  518. "folder",
  519. "uid"
  520. ],
  521. "createSql": "CREATE UNIQUE INDEX `index_message_folder_uid` ON `${TABLE_NAME}` (`folder`, `uid`)"
  522. },
  523. {
  524. "name": "index_message_msgid_folder",
  525. "unique": true,
  526. "columnNames": [
  527. "msgid",
  528. "folder"
  529. ],
  530. "createSql": "CREATE UNIQUE INDEX `index_message_msgid_folder` ON `${TABLE_NAME}` (`msgid`, `folder`)"
  531. },
  532. {
  533. "name": "index_message_thread",
  534. "unique": false,
  535. "columnNames": [
  536. "thread"
  537. ],
  538. "createSql": "CREATE INDEX `index_message_thread` ON `${TABLE_NAME}` (`thread`)"
  539. },
  540. {
  541. "name": "index_message_received",
  542. "unique": false,
  543. "columnNames": [
  544. "received"
  545. ],
  546. "createSql": "CREATE INDEX `index_message_received` ON `${TABLE_NAME}` (`received`)"
  547. },
  548. {
  549. "name": "index_message_ui_seen",
  550. "unique": false,
  551. "columnNames": [
  552. "ui_seen"
  553. ],
  554. "createSql": "CREATE INDEX `index_message_ui_seen` ON `${TABLE_NAME}` (`ui_seen`)"
  555. },
  556. {
  557. "name": "index_message_ui_hide",
  558. "unique": false,
  559. "columnNames": [
  560. "ui_hide"
  561. ],
  562. "createSql": "CREATE INDEX `index_message_ui_hide` ON `${TABLE_NAME}` (`ui_hide`)"
  563. }
  564. ],
  565. "foreignKeys": [
  566. {
  567. "table": "account",
  568. "onDelete": "CASCADE",
  569. "onUpdate": "NO ACTION",
  570. "columns": [
  571. "account"
  572. ],
  573. "referencedColumns": [
  574. "id"
  575. ]
  576. },
  577. {
  578. "table": "folder",
  579. "onDelete": "CASCADE",
  580. "onUpdate": "NO ACTION",
  581. "columns": [
  582. "folder"
  583. ],
  584. "referencedColumns": [
  585. "id"
  586. ]
  587. },
  588. {
  589. "table": "identity",
  590. "onDelete": "CASCADE",
  591. "onUpdate": "NO ACTION",
  592. "columns": [
  593. "identity"
  594. ],
  595. "referencedColumns": [
  596. "id"
  597. ]
  598. },
  599. {
  600. "table": "message",
  601. "onDelete": "CASCADE",
  602. "onUpdate": "NO ACTION",
  603. "columns": [
  604. "replying"
  605. ],
  606. "referencedColumns": [
  607. "id"
  608. ]
  609. }
  610. ]
  611. },
  612. {
  613. "tableName": "attachment",
  614. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `message` INTEGER NOT NULL, `sequence` INTEGER NOT NULL, `name` TEXT, `type` TEXT NOT NULL, `size` INTEGER, `progress` INTEGER, `available` INTEGER NOT NULL, FOREIGN KEY(`message`) REFERENCES `message`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
  615. "fields": [
  616. {
  617. "fieldPath": "id",
  618. "columnName": "id",
  619. "affinity": "INTEGER",
  620. "notNull": false
  621. },
  622. {
  623. "fieldPath": "message",
  624. "columnName": "message",
  625. "affinity": "INTEGER",
  626. "notNull": true
  627. },
  628. {
  629. "fieldPath": "sequence",
  630. "columnName": "sequence",
  631. "affinity": "INTEGER",
  632. "notNull": true
  633. },
  634. {
  635. "fieldPath": "name",
  636. "columnName": "name",
  637. "affinity": "TEXT",
  638. "notNull": false
  639. },
  640. {
  641. "fieldPath": "type",
  642. "columnName": "type",
  643. "affinity": "TEXT",
  644. "notNull": true
  645. },
  646. {
  647. "fieldPath": "size",
  648. "columnName": "size",
  649. "affinity": "INTEGER",
  650. "notNull": false
  651. },
  652. {
  653. "fieldPath": "progress",
  654. "columnName": "progress",
  655. "affinity": "INTEGER",
  656. "notNull": false
  657. },
  658. {
  659. "fieldPath": "available",
  660. "columnName": "available",
  661. "affinity": "INTEGER",
  662. "notNull": true
  663. }
  664. ],
  665. "primaryKey": {
  666. "columnNames": [
  667. "id"
  668. ],
  669. "autoGenerate": true
  670. },
  671. "indices": [
  672. {
  673. "name": "index_attachment_message",
  674. "unique": false,
  675. "columnNames": [
  676. "message"
  677. ],
  678. "createSql": "CREATE INDEX `index_attachment_message` ON `${TABLE_NAME}` (`message`)"
  679. },
  680. {
  681. "name": "index_attachment_message_sequence",
  682. "unique": true,
  683. "columnNames": [
  684. "message",
  685. "sequence"
  686. ],
  687. "createSql": "CREATE UNIQUE INDEX `index_attachment_message_sequence` ON `${TABLE_NAME}` (`message`, `sequence`)"
  688. }
  689. ],
  690. "foreignKeys": [
  691. {
  692. "table": "message",
  693. "onDelete": "CASCADE",
  694. "onUpdate": "NO ACTION",
  695. "columns": [
  696. "message"
  697. ],
  698. "referencedColumns": [
  699. "id"
  700. ]
  701. }
  702. ]
  703. },
  704. {
  705. "tableName": "operation",
  706. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `folder` INTEGER NOT NULL, `message` INTEGER NOT NULL, `name` TEXT NOT NULL, `args` TEXT NOT NULL, `created` INTEGER NOT NULL, FOREIGN KEY(`folder`) REFERENCES `folder`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`message`) REFERENCES `message`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
  707. "fields": [
  708. {
  709. "fieldPath": "id",
  710. "columnName": "id",
  711. "affinity": "INTEGER",
  712. "notNull": false
  713. },
  714. {
  715. "fieldPath": "folder",
  716. "columnName": "folder",
  717. "affinity": "INTEGER",
  718. "notNull": true
  719. },
  720. {
  721. "fieldPath": "message",
  722. "columnName": "message",
  723. "affinity": "INTEGER",
  724. "notNull": true
  725. },
  726. {
  727. "fieldPath": "name",
  728. "columnName": "name",
  729. "affinity": "TEXT",
  730. "notNull": true
  731. },
  732. {
  733. "fieldPath": "args",
  734. "columnName": "args",
  735. "affinity": "TEXT",
  736. "notNull": true
  737. },
  738. {
  739. "fieldPath": "created",
  740. "columnName": "created",
  741. "affinity": "INTEGER",
  742. "notNull": true
  743. }
  744. ],
  745. "primaryKey": {
  746. "columnNames": [
  747. "id"
  748. ],
  749. "autoGenerate": true
  750. },
  751. "indices": [
  752. {
  753. "name": "index_operation_folder",
  754. "unique": false,
  755. "columnNames": [
  756. "folder"
  757. ],
  758. "createSql": "CREATE INDEX `index_operation_folder` ON `${TABLE_NAME}` (`folder`)"
  759. },
  760. {
  761. "name": "index_operation_message",
  762. "unique": false,
  763. "columnNames": [
  764. "message"
  765. ],
  766. "createSql": "CREATE INDEX `index_operation_message` ON `${TABLE_NAME}` (`message`)"
  767. }
  768. ],
  769. "foreignKeys": [
  770. {
  771. "table": "folder",
  772. "onDelete": "CASCADE",
  773. "onUpdate": "NO ACTION",
  774. "columns": [
  775. "folder"
  776. ],
  777. "referencedColumns": [
  778. "id"
  779. ]
  780. },
  781. {
  782. "table": "message",
  783. "onDelete": "CASCADE",
  784. "onUpdate": "NO ACTION",
  785. "columns": [
  786. "message"
  787. ],
  788. "referencedColumns": [
  789. "id"
  790. ]
  791. }
  792. ]
  793. }
  794. ],
  795. "setupQueries": [
  796. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  797. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"ec9474ecd53268ea20f0363e444d9fc1\")"
  798. ]
  799. }
  800. }