1.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 1,
  5. "identityHash": "c4b2fc1aa20ac555446cdde24166c0a0",
  6. "entities": [
  7. {
  8. "tableName": "BackupItem",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `createdAt` TEXT 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)",
  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": "TEXT",
  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. "primaryKey": {
  85. "autoGenerate": true,
  86. "columnNames": [
  87. "id"
  88. ]
  89. },
  90. "indices": [],
  91. "foreignKeys": []
  92. }
  93. ],
  94. "views": [],
  95. "setupQueries": [
  96. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  97. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c4b2fc1aa20ac555446cdde24166c0a0')"
  98. ]
  99. }
  100. }