9.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 9,
  5. "identityHash": "666fcc4bbbdf3ff121b8f1ace8fcbcb8",
  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, `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": "clientCertificate",
  61. "columnName": "clientCertificate",
  62. "affinity": "TEXT",
  63. "notNull": false
  64. },
  65. {
  66. "fieldPath": "externalSignalingServer",
  67. "columnName": "externalSignalingServer",
  68. "affinity": "TEXT",
  69. "notNull": false
  70. },
  71. {
  72. "fieldPath": "current",
  73. "columnName": "current",
  74. "affinity": "INTEGER",
  75. "notNull": true
  76. },
  77. {
  78. "fieldPath": "scheduledForDeletion",
  79. "columnName": "scheduledForDeletion",
  80. "affinity": "INTEGER",
  81. "notNull": true
  82. }
  83. ],
  84. "primaryKey": {
  85. "autoGenerate": true,
  86. "columnNames": [
  87. "id"
  88. ]
  89. },
  90. "indices": [],
  91. "foreignKeys": []
  92. },
  93. {
  94. "tableName": "ArbitraryStorage",
  95. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`accountIdentifier` INTEGER NOT NULL, `key` TEXT NOT NULL, `object` TEXT, `value` TEXT, PRIMARY KEY(`accountIdentifier`, `key`))",
  96. "fields": [
  97. {
  98. "fieldPath": "accountIdentifier",
  99. "columnName": "accountIdentifier",
  100. "affinity": "INTEGER",
  101. "notNull": true
  102. },
  103. {
  104. "fieldPath": "key",
  105. "columnName": "key",
  106. "affinity": "TEXT",
  107. "notNull": true
  108. },
  109. {
  110. "fieldPath": "storageObject",
  111. "columnName": "object",
  112. "affinity": "TEXT",
  113. "notNull": false
  114. },
  115. {
  116. "fieldPath": "value",
  117. "columnName": "value",
  118. "affinity": "TEXT",
  119. "notNull": false
  120. }
  121. ],
  122. "primaryKey": {
  123. "autoGenerate": false,
  124. "columnNames": [
  125. "accountIdentifier",
  126. "key"
  127. ]
  128. },
  129. "indices": [],
  130. "foreignKeys": []
  131. }
  132. ],
  133. "views": [],
  134. "setupQueries": [
  135. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  136. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '666fcc4bbbdf3ff121b8f1ace8fcbcb8')"
  137. ]
  138. }
  139. }