10.json 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 10,
  5. "identityHash": "c07a2543aa583e08e7b3208f44fcc7ac",
  6. "entities": [
  7. {
  8. "tableName": "User",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `userId` TEXT, `username` TEXT, `baseUrl` TEXT, `token` TEXT, `displayName` TEXT, `pushConfigurationState` TEXT, `capabilities` TEXT, `serverVersion` TEXT DEFAULT '', `clientCertificate` TEXT, `externalSignalingServer` TEXT, `current` INTEGER NOT NULL, `scheduledForDeletion` INTEGER NOT NULL)",
  10. "fields": [
  11. {
  12. "fieldPath": "id",
  13. "columnName": "id",
  14. "affinity": "INTEGER",
  15. "notNull": true
  16. },
  17. {
  18. "fieldPath": "userId",
  19. "columnName": "userId",
  20. "affinity": "TEXT",
  21. "notNull": false
  22. },
  23. {
  24. "fieldPath": "username",
  25. "columnName": "username",
  26. "affinity": "TEXT",
  27. "notNull": false
  28. },
  29. {
  30. "fieldPath": "baseUrl",
  31. "columnName": "baseUrl",
  32. "affinity": "TEXT",
  33. "notNull": false
  34. },
  35. {
  36. "fieldPath": "token",
  37. "columnName": "token",
  38. "affinity": "TEXT",
  39. "notNull": false
  40. },
  41. {
  42. "fieldPath": "displayName",
  43. "columnName": "displayName",
  44. "affinity": "TEXT",
  45. "notNull": false
  46. },
  47. {
  48. "fieldPath": "pushConfigurationState",
  49. "columnName": "pushConfigurationState",
  50. "affinity": "TEXT",
  51. "notNull": false
  52. },
  53. {
  54. "fieldPath": "capabilities",
  55. "columnName": "capabilities",
  56. "affinity": "TEXT",
  57. "notNull": false
  58. },
  59. {
  60. "fieldPath": "serverVersion",
  61. "columnName": "serverVersion",
  62. "affinity": "TEXT",
  63. "notNull": false,
  64. "defaultValue": "''"
  65. },
  66. {
  67. "fieldPath": "clientCertificate",
  68. "columnName": "clientCertificate",
  69. "affinity": "TEXT",
  70. "notNull": false
  71. },
  72. {
  73. "fieldPath": "externalSignalingServer",
  74. "columnName": "externalSignalingServer",
  75. "affinity": "TEXT",
  76. "notNull": false
  77. },
  78. {
  79. "fieldPath": "current",
  80. "columnName": "current",
  81. "affinity": "INTEGER",
  82. "notNull": true
  83. },
  84. {
  85. "fieldPath": "scheduledForDeletion",
  86. "columnName": "scheduledForDeletion",
  87. "affinity": "INTEGER",
  88. "notNull": true
  89. }
  90. ],
  91. "primaryKey": {
  92. "autoGenerate": true,
  93. "columnNames": [
  94. "id"
  95. ]
  96. },
  97. "indices": [],
  98. "foreignKeys": []
  99. },
  100. {
  101. "tableName": "ArbitraryStorage",
  102. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`accountIdentifier` INTEGER NOT NULL, `key` TEXT NOT NULL, `object` TEXT, `value` TEXT, PRIMARY KEY(`accountIdentifier`, `key`))",
  103. "fields": [
  104. {
  105. "fieldPath": "accountIdentifier",
  106. "columnName": "accountIdentifier",
  107. "affinity": "INTEGER",
  108. "notNull": true
  109. },
  110. {
  111. "fieldPath": "key",
  112. "columnName": "key",
  113. "affinity": "TEXT",
  114. "notNull": true
  115. },
  116. {
  117. "fieldPath": "storageObject",
  118. "columnName": "object",
  119. "affinity": "TEXT",
  120. "notNull": false
  121. },
  122. {
  123. "fieldPath": "value",
  124. "columnName": "value",
  125. "affinity": "TEXT",
  126. "notNull": false
  127. }
  128. ],
  129. "primaryKey": {
  130. "autoGenerate": false,
  131. "columnNames": [
  132. "accountIdentifier",
  133. "key"
  134. ]
  135. },
  136. "indices": [],
  137. "foreignKeys": []
  138. },
  139. {
  140. "tableName": "Conversations",
  141. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`internalId` TEXT NOT NULL, `accountId` INTEGER NOT NULL, `token` TEXT, `name` TEXT, `displayName` TEXT, `description` TEXT, `type` TEXT, `lastPing` INTEGER NOT NULL, `participantType` TEXT, `hasPassword` INTEGER NOT NULL, `sessionId` TEXT, `actorId` TEXT, `actorType` TEXT, `isFavorite` INTEGER NOT NULL, `lastActivity` INTEGER NOT NULL, `unreadMessages` INTEGER NOT NULL, `unreadMention` INTEGER NOT NULL, `lastMessageJson` TEXT, `objectType` TEXT, `notificationLevel` TEXT, `readOnly` TEXT, `lobbyState` TEXT, `lobbyTimer` INTEGER, `lastReadMessage` INTEGER NOT NULL, `lastCommonReadMessage` INTEGER NOT NULL, `hasCall` INTEGER NOT NULL, `callFlag` INTEGER NOT NULL, `canStartCall` INTEGER NOT NULL, `canLeaveConversation` INTEGER, `canDeleteConversation` INTEGER, `unreadMentionDirect` INTEGER, `notificationCalls` INTEGER, `permissions` INTEGER NOT NULL, `messageExpiration` INTEGER NOT NULL, `status` TEXT, `statusIcon` TEXT, `statusMessage` TEXT, `statusClearAt` INTEGER, `callRecording` INTEGER NOT NULL, `avatarVersion` TEXT, `isCustomAvatar` INTEGER, `callStartTime` INTEGER, `recordingConsent` INTEGER NOT NULL, `remoteServer` TEXT, `remoteToken` TEXT, PRIMARY KEY(`internalId`), FOREIGN KEY(`accountId`) REFERENCES `User`(`id`) ON UPDATE CASCADE ON DELETE CASCADE )",
  142. "fields": [
  143. {
  144. "fieldPath": "internalId",
  145. "columnName": "internalId",
  146. "affinity": "TEXT",
  147. "notNull": true
  148. },
  149. {
  150. "fieldPath": "accountId",
  151. "columnName": "accountId",
  152. "affinity": "INTEGER",
  153. "notNull": true
  154. },
  155. {
  156. "fieldPath": "token",
  157. "columnName": "token",
  158. "affinity": "TEXT",
  159. "notNull": false
  160. },
  161. {
  162. "fieldPath": "name",
  163. "columnName": "name",
  164. "affinity": "TEXT",
  165. "notNull": false
  166. },
  167. {
  168. "fieldPath": "displayName",
  169. "columnName": "displayName",
  170. "affinity": "TEXT",
  171. "notNull": false
  172. },
  173. {
  174. "fieldPath": "description",
  175. "columnName": "description",
  176. "affinity": "TEXT",
  177. "notNull": false
  178. },
  179. {
  180. "fieldPath": "type",
  181. "columnName": "type",
  182. "affinity": "TEXT",
  183. "notNull": false
  184. },
  185. {
  186. "fieldPath": "lastPing",
  187. "columnName": "lastPing",
  188. "affinity": "INTEGER",
  189. "notNull": true
  190. },
  191. {
  192. "fieldPath": "participantType",
  193. "columnName": "participantType",
  194. "affinity": "TEXT",
  195. "notNull": false
  196. },
  197. {
  198. "fieldPath": "hasPassword",
  199. "columnName": "hasPassword",
  200. "affinity": "INTEGER",
  201. "notNull": true
  202. },
  203. {
  204. "fieldPath": "sessionId",
  205. "columnName": "sessionId",
  206. "affinity": "TEXT",
  207. "notNull": false
  208. },
  209. {
  210. "fieldPath": "actorId",
  211. "columnName": "actorId",
  212. "affinity": "TEXT",
  213. "notNull": false
  214. },
  215. {
  216. "fieldPath": "actorType",
  217. "columnName": "actorType",
  218. "affinity": "TEXT",
  219. "notNull": false
  220. },
  221. {
  222. "fieldPath": "favorite",
  223. "columnName": "isFavorite",
  224. "affinity": "INTEGER",
  225. "notNull": true
  226. },
  227. {
  228. "fieldPath": "lastActivity",
  229. "columnName": "lastActivity",
  230. "affinity": "INTEGER",
  231. "notNull": true
  232. },
  233. {
  234. "fieldPath": "unreadMessages",
  235. "columnName": "unreadMessages",
  236. "affinity": "INTEGER",
  237. "notNull": true
  238. },
  239. {
  240. "fieldPath": "unreadMention",
  241. "columnName": "unreadMention",
  242. "affinity": "INTEGER",
  243. "notNull": true
  244. },
  245. {
  246. "fieldPath": "lastMessageJson",
  247. "columnName": "lastMessageJson",
  248. "affinity": "TEXT",
  249. "notNull": false
  250. },
  251. {
  252. "fieldPath": "objectType",
  253. "columnName": "objectType",
  254. "affinity": "TEXT",
  255. "notNull": false
  256. },
  257. {
  258. "fieldPath": "notificationLevel",
  259. "columnName": "notificationLevel",
  260. "affinity": "TEXT",
  261. "notNull": false
  262. },
  263. {
  264. "fieldPath": "conversationReadOnlyState",
  265. "columnName": "readOnly",
  266. "affinity": "TEXT",
  267. "notNull": false
  268. },
  269. {
  270. "fieldPath": "lobbyState",
  271. "columnName": "lobbyState",
  272. "affinity": "TEXT",
  273. "notNull": false
  274. },
  275. {
  276. "fieldPath": "lobbyTimer",
  277. "columnName": "lobbyTimer",
  278. "affinity": "INTEGER",
  279. "notNull": false
  280. },
  281. {
  282. "fieldPath": "lastReadMessage",
  283. "columnName": "lastReadMessage",
  284. "affinity": "INTEGER",
  285. "notNull": true
  286. },
  287. {
  288. "fieldPath": "lastCommonReadMessage",
  289. "columnName": "lastCommonReadMessage",
  290. "affinity": "INTEGER",
  291. "notNull": true
  292. },
  293. {
  294. "fieldPath": "hasCall",
  295. "columnName": "hasCall",
  296. "affinity": "INTEGER",
  297. "notNull": true
  298. },
  299. {
  300. "fieldPath": "callFlag",
  301. "columnName": "callFlag",
  302. "affinity": "INTEGER",
  303. "notNull": true
  304. },
  305. {
  306. "fieldPath": "canStartCall",
  307. "columnName": "canStartCall",
  308. "affinity": "INTEGER",
  309. "notNull": true
  310. },
  311. {
  312. "fieldPath": "canLeaveConversation",
  313. "columnName": "canLeaveConversation",
  314. "affinity": "INTEGER",
  315. "notNull": false
  316. },
  317. {
  318. "fieldPath": "canDeleteConversation",
  319. "columnName": "canDeleteConversation",
  320. "affinity": "INTEGER",
  321. "notNull": false
  322. },
  323. {
  324. "fieldPath": "unreadMentionDirect",
  325. "columnName": "unreadMentionDirect",
  326. "affinity": "INTEGER",
  327. "notNull": false
  328. },
  329. {
  330. "fieldPath": "notificationCalls",
  331. "columnName": "notificationCalls",
  332. "affinity": "INTEGER",
  333. "notNull": false
  334. },
  335. {
  336. "fieldPath": "permissions",
  337. "columnName": "permissions",
  338. "affinity": "INTEGER",
  339. "notNull": true
  340. },
  341. {
  342. "fieldPath": "messageExpiration",
  343. "columnName": "messageExpiration",
  344. "affinity": "INTEGER",
  345. "notNull": true
  346. },
  347. {
  348. "fieldPath": "status",
  349. "columnName": "status",
  350. "affinity": "TEXT",
  351. "notNull": false
  352. },
  353. {
  354. "fieldPath": "statusIcon",
  355. "columnName": "statusIcon",
  356. "affinity": "TEXT",
  357. "notNull": false
  358. },
  359. {
  360. "fieldPath": "statusMessage",
  361. "columnName": "statusMessage",
  362. "affinity": "TEXT",
  363. "notNull": false
  364. },
  365. {
  366. "fieldPath": "statusClearAt",
  367. "columnName": "statusClearAt",
  368. "affinity": "INTEGER",
  369. "notNull": false
  370. },
  371. {
  372. "fieldPath": "callRecording",
  373. "columnName": "callRecording",
  374. "affinity": "INTEGER",
  375. "notNull": true
  376. },
  377. {
  378. "fieldPath": "avatarVersion",
  379. "columnName": "avatarVersion",
  380. "affinity": "TEXT",
  381. "notNull": false
  382. },
  383. {
  384. "fieldPath": "hasCustomAvatar",
  385. "columnName": "isCustomAvatar",
  386. "affinity": "INTEGER",
  387. "notNull": false
  388. },
  389. {
  390. "fieldPath": "callStartTime",
  391. "columnName": "callStartTime",
  392. "affinity": "INTEGER",
  393. "notNull": false
  394. },
  395. {
  396. "fieldPath": "recordingConsentRequired",
  397. "columnName": "recordingConsent",
  398. "affinity": "INTEGER",
  399. "notNull": true
  400. },
  401. {
  402. "fieldPath": "remoteServer",
  403. "columnName": "remoteServer",
  404. "affinity": "TEXT",
  405. "notNull": false
  406. },
  407. {
  408. "fieldPath": "remoteToken",
  409. "columnName": "remoteToken",
  410. "affinity": "TEXT",
  411. "notNull": false
  412. }
  413. ],
  414. "primaryKey": {
  415. "autoGenerate": false,
  416. "columnNames": [
  417. "internalId"
  418. ]
  419. },
  420. "indices": [
  421. {
  422. "name": "index_Conversations_accountId",
  423. "unique": false,
  424. "columnNames": [
  425. "accountId"
  426. ],
  427. "orders": [],
  428. "createSql": "CREATE INDEX IF NOT EXISTS `index_Conversations_accountId` ON `${TABLE_NAME}` (`accountId`)"
  429. }
  430. ],
  431. "foreignKeys": [
  432. {
  433. "table": "User",
  434. "onDelete": "CASCADE",
  435. "onUpdate": "CASCADE",
  436. "columns": [
  437. "accountId"
  438. ],
  439. "referencedColumns": [
  440. "id"
  441. ]
  442. }
  443. ]
  444. },
  445. {
  446. "tableName": "ChatMessages",
  447. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`internalId` TEXT NOT NULL, `accountId` INTEGER, `token` TEXT, `id` INTEGER NOT NULL, `internalConversationId` TEXT, `actorType` TEXT, `actorId` TEXT, `actorDisplayName` TEXT, `timestamp` INTEGER NOT NULL, `systemMessage` TEXT, `messageType` TEXT, `isReplyable` INTEGER NOT NULL, `message` TEXT, `messageParameters` TEXT, `expirationTimestamp` INTEGER NOT NULL, `parent` INTEGER, `reactions` TEXT, `reactionsSelf` TEXT, `markdown` INTEGER, `lastEditActorType` TEXT, `lastEditActorId` TEXT, `lastEditActorDisplayName` TEXT, `lastEditTimestamp` INTEGER, `deleted` INTEGER NOT NULL, PRIMARY KEY(`internalId`), FOREIGN KEY(`internalConversationId`) REFERENCES `Conversations`(`internalId`) ON UPDATE CASCADE ON DELETE CASCADE )",
  448. "fields": [
  449. {
  450. "fieldPath": "internalId",
  451. "columnName": "internalId",
  452. "affinity": "TEXT",
  453. "notNull": true
  454. },
  455. {
  456. "fieldPath": "accountId",
  457. "columnName": "accountId",
  458. "affinity": "INTEGER",
  459. "notNull": false
  460. },
  461. {
  462. "fieldPath": "token",
  463. "columnName": "token",
  464. "affinity": "TEXT",
  465. "notNull": false
  466. },
  467. {
  468. "fieldPath": "id",
  469. "columnName": "id",
  470. "affinity": "INTEGER",
  471. "notNull": true
  472. },
  473. {
  474. "fieldPath": "internalConversationId",
  475. "columnName": "internalConversationId",
  476. "affinity": "TEXT",
  477. "notNull": false
  478. },
  479. {
  480. "fieldPath": "actorType",
  481. "columnName": "actorType",
  482. "affinity": "TEXT",
  483. "notNull": false
  484. },
  485. {
  486. "fieldPath": "actorId",
  487. "columnName": "actorId",
  488. "affinity": "TEXT",
  489. "notNull": false
  490. },
  491. {
  492. "fieldPath": "actorDisplayName",
  493. "columnName": "actorDisplayName",
  494. "affinity": "TEXT",
  495. "notNull": false
  496. },
  497. {
  498. "fieldPath": "timestamp",
  499. "columnName": "timestamp",
  500. "affinity": "INTEGER",
  501. "notNull": true
  502. },
  503. {
  504. "fieldPath": "systemMessageType",
  505. "columnName": "systemMessage",
  506. "affinity": "TEXT",
  507. "notNull": false
  508. },
  509. {
  510. "fieldPath": "messageType",
  511. "columnName": "messageType",
  512. "affinity": "TEXT",
  513. "notNull": false
  514. },
  515. {
  516. "fieldPath": "replyable",
  517. "columnName": "isReplyable",
  518. "affinity": "INTEGER",
  519. "notNull": true
  520. },
  521. {
  522. "fieldPath": "message",
  523. "columnName": "message",
  524. "affinity": "TEXT",
  525. "notNull": false
  526. },
  527. {
  528. "fieldPath": "messageParameters",
  529. "columnName": "messageParameters",
  530. "affinity": "TEXT",
  531. "notNull": false
  532. },
  533. {
  534. "fieldPath": "expirationTimestamp",
  535. "columnName": "expirationTimestamp",
  536. "affinity": "INTEGER",
  537. "notNull": true
  538. },
  539. {
  540. "fieldPath": "parentMessageId",
  541. "columnName": "parent",
  542. "affinity": "INTEGER",
  543. "notNull": false
  544. },
  545. {
  546. "fieldPath": "reactions",
  547. "columnName": "reactions",
  548. "affinity": "TEXT",
  549. "notNull": false
  550. },
  551. {
  552. "fieldPath": "reactionsSelf",
  553. "columnName": "reactionsSelf",
  554. "affinity": "TEXT",
  555. "notNull": false
  556. },
  557. {
  558. "fieldPath": "renderMarkdown",
  559. "columnName": "markdown",
  560. "affinity": "INTEGER",
  561. "notNull": false
  562. },
  563. {
  564. "fieldPath": "lastEditActorType",
  565. "columnName": "lastEditActorType",
  566. "affinity": "TEXT",
  567. "notNull": false
  568. },
  569. {
  570. "fieldPath": "lastEditActorId",
  571. "columnName": "lastEditActorId",
  572. "affinity": "TEXT",
  573. "notNull": false
  574. },
  575. {
  576. "fieldPath": "lastEditActorDisplayName",
  577. "columnName": "lastEditActorDisplayName",
  578. "affinity": "TEXT",
  579. "notNull": false
  580. },
  581. {
  582. "fieldPath": "lastEditTimestamp",
  583. "columnName": "lastEditTimestamp",
  584. "affinity": "INTEGER",
  585. "notNull": false
  586. },
  587. {
  588. "fieldPath": "deleted",
  589. "columnName": "deleted",
  590. "affinity": "INTEGER",
  591. "notNull": true
  592. }
  593. ],
  594. "primaryKey": {
  595. "autoGenerate": false,
  596. "columnNames": [
  597. "internalId"
  598. ]
  599. },
  600. "indices": [
  601. {
  602. "name": "index_ChatMessages_internalId",
  603. "unique": true,
  604. "columnNames": [
  605. "internalId"
  606. ],
  607. "orders": [],
  608. "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_ChatMessages_internalId` ON `${TABLE_NAME}` (`internalId`)"
  609. },
  610. {
  611. "name": "index_ChatMessages_internalConversationId",
  612. "unique": false,
  613. "columnNames": [
  614. "internalConversationId"
  615. ],
  616. "orders": [],
  617. "createSql": "CREATE INDEX IF NOT EXISTS `index_ChatMessages_internalConversationId` ON `${TABLE_NAME}` (`internalConversationId`)"
  618. }
  619. ],
  620. "foreignKeys": [
  621. {
  622. "table": "Conversations",
  623. "onDelete": "CASCADE",
  624. "onUpdate": "CASCADE",
  625. "columns": [
  626. "internalConversationId"
  627. ],
  628. "referencedColumns": [
  629. "internalId"
  630. ]
  631. }
  632. ]
  633. },
  634. {
  635. "tableName": "ChatBlocks",
  636. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `internalConversationId` TEXT NOT NULL, `accountId` INTEGER, `token` TEXT, `oldestMessageId` INTEGER NOT NULL, `newestMessageId` INTEGER NOT NULL, `hasHistory` INTEGER NOT NULL, FOREIGN KEY(`internalConversationId`) REFERENCES `Conversations`(`internalId`) ON UPDATE CASCADE ON DELETE CASCADE )",
  637. "fields": [
  638. {
  639. "fieldPath": "id",
  640. "columnName": "id",
  641. "affinity": "INTEGER",
  642. "notNull": true
  643. },
  644. {
  645. "fieldPath": "internalConversationId",
  646. "columnName": "internalConversationId",
  647. "affinity": "TEXT",
  648. "notNull": true
  649. },
  650. {
  651. "fieldPath": "accountId",
  652. "columnName": "accountId",
  653. "affinity": "INTEGER",
  654. "notNull": false
  655. },
  656. {
  657. "fieldPath": "token",
  658. "columnName": "token",
  659. "affinity": "TEXT",
  660. "notNull": false
  661. },
  662. {
  663. "fieldPath": "oldestMessageId",
  664. "columnName": "oldestMessageId",
  665. "affinity": "INTEGER",
  666. "notNull": true
  667. },
  668. {
  669. "fieldPath": "newestMessageId",
  670. "columnName": "newestMessageId",
  671. "affinity": "INTEGER",
  672. "notNull": true
  673. },
  674. {
  675. "fieldPath": "hasHistory",
  676. "columnName": "hasHistory",
  677. "affinity": "INTEGER",
  678. "notNull": true
  679. }
  680. ],
  681. "primaryKey": {
  682. "autoGenerate": true,
  683. "columnNames": [
  684. "id"
  685. ]
  686. },
  687. "indices": [],
  688. "foreignKeys": [
  689. {
  690. "table": "Conversations",
  691. "onDelete": "CASCADE",
  692. "onUpdate": "CASCADE",
  693. "columns": [
  694. "internalConversationId"
  695. ],
  696. "referencedColumns": [
  697. "internalId"
  698. ]
  699. }
  700. ]
  701. }
  702. ],
  703. "views": [],
  704. "setupQueries": [
  705. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  706. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c07a2543aa583e08e7b3208f44fcc7ac')"
  707. ]
  708. }
  709. }