0000_snapshot.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "version": "6",
  3. "dialect": "sqlite",
  4. "id": "ef3a044b-0f34-40b5-babb-2bb3a909ba27",
  5. "prevId": "00000000-0000-0000-0000-000000000000",
  6. "tables": {
  7. "chats": {
  8. "name": "chats",
  9. "columns": {
  10. "id": {
  11. "name": "id",
  12. "type": "text",
  13. "primaryKey": true,
  14. "notNull": true,
  15. "autoincrement": false
  16. },
  17. "title": {
  18. "name": "title",
  19. "type": "text",
  20. "primaryKey": false,
  21. "notNull": true,
  22. "autoincrement": false
  23. },
  24. "createdAt": {
  25. "name": "createdAt",
  26. "type": "text",
  27. "primaryKey": false,
  28. "notNull": true,
  29. "autoincrement": false
  30. },
  31. "focusMode": {
  32. "name": "focusMode",
  33. "type": "text",
  34. "primaryKey": false,
  35. "notNull": true,
  36. "autoincrement": false
  37. },
  38. "files": {
  39. "name": "files",
  40. "type": "text",
  41. "primaryKey": false,
  42. "notNull": false,
  43. "autoincrement": false,
  44. "default": "'[]'"
  45. }
  46. },
  47. "indexes": {},
  48. "foreignKeys": {},
  49. "compositePrimaryKeys": {},
  50. "uniqueConstraints": {},
  51. "checkConstraints": {}
  52. },
  53. "messages": {
  54. "name": "messages",
  55. "columns": {
  56. "id": {
  57. "name": "id",
  58. "type": "integer",
  59. "primaryKey": true,
  60. "notNull": true,
  61. "autoincrement": false
  62. },
  63. "content": {
  64. "name": "content",
  65. "type": "text",
  66. "primaryKey": false,
  67. "notNull": true,
  68. "autoincrement": false
  69. },
  70. "chatId": {
  71. "name": "chatId",
  72. "type": "text",
  73. "primaryKey": false,
  74. "notNull": true,
  75. "autoincrement": false
  76. },
  77. "messageId": {
  78. "name": "messageId",
  79. "type": "text",
  80. "primaryKey": false,
  81. "notNull": true,
  82. "autoincrement": false
  83. },
  84. "type": {
  85. "name": "type",
  86. "type": "text",
  87. "primaryKey": false,
  88. "notNull": false,
  89. "autoincrement": false
  90. },
  91. "metadata": {
  92. "name": "metadata",
  93. "type": "text",
  94. "primaryKey": false,
  95. "notNull": false,
  96. "autoincrement": false
  97. }
  98. },
  99. "indexes": {},
  100. "foreignKeys": {},
  101. "compositePrimaryKeys": {},
  102. "uniqueConstraints": {},
  103. "checkConstraints": {}
  104. }
  105. },
  106. "views": {},
  107. "enums": {},
  108. "_meta": {
  109. "schemas": {},
  110. "tables": {},
  111. "columns": {}
  112. },
  113. "internal": {
  114. "indexes": {}
  115. }
  116. }