Guest User

Untitled

a guest
Feb 20th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. {
  2. "formatVersion": 1,
  3. "database": {
  4. "version": 2,
  5. "identityHash": "f8a76e5c25ff582be5759242c0470798",
  6. "entities": [
  7. {
  8. "tableName": "note",
  9. "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`entryid` TEXT NOT NULL, `title` TEXT, `description` TEXT, `datetime` INTEGER NOT NULL, PRIMARY KEY(`entryid`))",
  10. "fields": [
  11. {
  12. "fieldPath": "notesId",
  13. "columnName": "entryid",
  14. "affinity": "TEXT",
  15. "notNull": true
  16. },
  17. {
  18. "fieldPath": "noteTitle",
  19. "columnName": "title",
  20. "affinity": "TEXT",
  21. "notNull": false
  22. },
  23. {
  24. "fieldPath": "noteDesc",
  25. "columnName": "description",
  26. "affinity": "TEXT",
  27. "notNull": false
  28. },
  29. {
  30. "fieldPath": "noteDateTime",
  31. "columnName": "datetime",
  32. "affinity": "INTEGER",
  33. "notNull": true
  34. }
  35. ],
  36. "primaryKey": {
  37. "columnNames": [
  38. "entryid"
  39. ],
  40. "autoGenerate": false
  41. },
  42. "indices": [],
  43. "foreignKeys": []
  44. }
  45. ],
  46. "setupQueries": [
  47. "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
  48. "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"f8a76e5c25ff582be5759242c0470798\")"
  49. ]
  50. }
  51. }
Add Comment
Please, Sign In to add comment