1.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 1,
  5. "identityHash": "0abf97687625abb96ce41bc835457a58",
  6. "entities": [
  7. {
  8. "tableName": "BookmarkEntity",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT NOT NULL, `url` TEXT NOT NULL, `image` BLOB)",
  10. "fields": [
  11. {
  12. "fieldPath": "uid",
  13. "columnName": "uid",
  14. "affinity": "INTEGER",
  15. "notNull": true
  16. },
  17. {
  18. "fieldPath": "title",
  19. "columnName": "title",
  20. "affinity": "TEXT",
  21. "notNull": true
  22. },
  23. {
  24. "fieldPath": "url",
  25. "columnName": "url",
  26. "affinity": "TEXT",
  27. "notNull": true
  28. },
  29. {
  30. "fieldPath": "image",
  31. "columnName": "image",
  32. "affinity": "BLOB",
  33. "notNull": false
  34. }
  35. ],
  36. "primaryKey": {
  37. "autoGenerate": true,
  38. "columnNames": [
  39. "uid"
  40. ]
  41. },
  42. "indices": [],
  43. "foreignKeys": []
  44. }
  45. ],
  46. "views": [],
  47. "setupQueries": [
  48. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  49. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0abf97687625abb96ce41bc835457a58')"
  50. ]
  51. }
  52. }