2.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 2,
  5. "identityHash": "7b0b95db3e6d99efa35ac7695cd130c6",
  6. "entities": [
  7. {
  8. "tableName": "BackupItem",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `createdAt` 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, `fresh` INTEGER NOT NULL DEFAULT 0)",
  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": "number",
  25. "columnName": "number",
  26. "affinity": "TEXT",
  27. "notNull": true
  28. },
  29. {
  30. "fieldPath": "country",
  31. "columnName": "country",
  32. "affinity": "TEXT",
  33. "notNull": true
  34. },
  35. {
  36. "fieldPath": "code",
  37. "columnName": "code",
  38. "affinity": "TEXT",
  39. "notNull": true
  40. },
  41. {
  42. "fieldPath": "mcc",
  43. "columnName": "mcc",
  44. "affinity": "TEXT",
  45. "notNull": true
  46. },
  47. {
  48. "fieldPath": "mnc",
  49. "columnName": "mnc",
  50. "affinity": "TEXT",
  51. "notNull": true
  52. },
  53. {
  54. "fieldPath": "imei",
  55. "columnName": "imei",
  56. "affinity": "TEXT",
  57. "notNull": true
  58. },
  59. {
  60. "fieldPath": "imsi",
  61. "columnName": "imsi",
  62. "affinity": "TEXT",
  63. "notNull": true
  64. },
  65. {
  66. "fieldPath": "iccid",
  67. "columnName": "iccid",
  68. "affinity": "TEXT",
  69. "notNull": true
  70. },
  71. {
  72. "fieldPath": "sendCount",
  73. "columnName": "sendCount",
  74. "affinity": "INTEGER",
  75. "notNull": true
  76. },
  77. {
  78. "fieldPath": "path",
  79. "columnName": "path",
  80. "affinity": "TEXT",
  81. "notNull": true
  82. },
  83. {
  84. "fieldPath": "lastUse",
  85. "columnName": "lastUse",
  86. "affinity": "INTEGER",
  87. "notNull": true
  88. },
  89. {
  90. "fieldPath": "type",
  91. "columnName": "type",
  92. "affinity": "TEXT",
  93. "notNull": true
  94. },
  95. {
  96. "fieldPath": "fresh",
  97. "columnName": "fresh",
  98. "affinity": "INTEGER",
  99. "notNull": true,
  100. "defaultValue": "0"
  101. }
  102. ],
  103. "primaryKey": {
  104. "autoGenerate": true,
  105. "columnNames": [
  106. "id"
  107. ]
  108. },
  109. "indices": [],
  110. "foreignKeys": []
  111. }
  112. ],
  113. "views": [],
  114. "setupQueries": [
  115. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  116. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '7b0b95db3e6d99efa35ac7695cd130c6')"
  117. ]
  118. }
  119. }