5.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 5,
  5. "identityHash": "0de21f8c407dfff0496469ab4e9dc19c",
  6. "entities": [
  7. {
  8. "tableName": "BackupItem",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `createdAt` INTEGER NOT NULL, `numberId` INTEGER NOT NULL, `number` TEXT NOT NULL, `country` TEXT NOT NULL, `code` TEXT NOT NULL, `mcc` TEXT NOT NULL, `mnc` TEXT NOT NULL, `imei` TEXT NOT NULL, `imsi` TEXT NOT NULL, `iccid` TEXT NOT NULL, `sendCount` INTEGER NOT NULL, `path` TEXT NOT NULL, `lastUse` INTEGER NOT NULL, `type` TEXT NOT NULL, `stock` INTEGER NOT NULL, `carrierId` TEXT NOT NULL, `carrierName` TEXT NOT NULL, `retry` INTEGER NOT NULL)",
  10. "fields": [
  11. {
  12. "fieldPath": "id",
  13. "columnName": "id",
  14. "affinity": "INTEGER",
  15. "notNull": false
  16. },
  17. {
  18. "fieldPath": "createdAt",
  19. "columnName": "createdAt",
  20. "affinity": "INTEGER",
  21. "notNull": true
  22. },
  23. {
  24. "fieldPath": "numberId",
  25. "columnName": "numberId",
  26. "affinity": "INTEGER",
  27. "notNull": true
  28. },
  29. {
  30. "fieldPath": "number",
  31. "columnName": "number",
  32. "affinity": "TEXT",
  33. "notNull": true
  34. },
  35. {
  36. "fieldPath": "country",
  37. "columnName": "country",
  38. "affinity": "TEXT",
  39. "notNull": true
  40. },
  41. {
  42. "fieldPath": "code",
  43. "columnName": "code",
  44. "affinity": "TEXT",
  45. "notNull": true
  46. },
  47. {
  48. "fieldPath": "mcc",
  49. "columnName": "mcc",
  50. "affinity": "TEXT",
  51. "notNull": true
  52. },
  53. {
  54. "fieldPath": "mnc",
  55. "columnName": "mnc",
  56. "affinity": "TEXT",
  57. "notNull": true
  58. },
  59. {
  60. "fieldPath": "imei",
  61. "columnName": "imei",
  62. "affinity": "TEXT",
  63. "notNull": true
  64. },
  65. {
  66. "fieldPath": "imsi",
  67. "columnName": "imsi",
  68. "affinity": "TEXT",
  69. "notNull": true
  70. },
  71. {
  72. "fieldPath": "iccid",
  73. "columnName": "iccid",
  74. "affinity": "TEXT",
  75. "notNull": true
  76. },
  77. {
  78. "fieldPath": "sendCount",
  79. "columnName": "sendCount",
  80. "affinity": "INTEGER",
  81. "notNull": true
  82. },
  83. {
  84. "fieldPath": "path",
  85. "columnName": "path",
  86. "affinity": "TEXT",
  87. "notNull": true
  88. },
  89. {
  90. "fieldPath": "lastUse",
  91. "columnName": "lastUse",
  92. "affinity": "INTEGER",
  93. "notNull": true
  94. },
  95. {
  96. "fieldPath": "type",
  97. "columnName": "type",
  98. "affinity": "TEXT",
  99. "notNull": true
  100. },
  101. {
  102. "fieldPath": "stock",
  103. "columnName": "stock",
  104. "affinity": "INTEGER",
  105. "notNull": true
  106. },
  107. {
  108. "fieldPath": "carrierId",
  109. "columnName": "carrierId",
  110. "affinity": "TEXT",
  111. "notNull": true
  112. },
  113. {
  114. "fieldPath": "carrierName",
  115. "columnName": "carrierName",
  116. "affinity": "TEXT",
  117. "notNull": true
  118. },
  119. {
  120. "fieldPath": "retry",
  121. "columnName": "retry",
  122. "affinity": "INTEGER",
  123. "notNull": true
  124. }
  125. ],
  126. "primaryKey": {
  127. "autoGenerate": true,
  128. "columnNames": [
  129. "id"
  130. ]
  131. },
  132. "indices": [],
  133. "foreignKeys": []
  134. }
  135. ],
  136. "views": [],
  137. "setupQueries": [
  138. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  139. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0de21f8c407dfff0496469ab4e9dc19c')"
  140. ]
  141. }
  142. }