@kky42/pievo-server 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/.output/nitro.json +17 -0
  2. package/.output/public/assets/CodeField-dOzyFQNH.js +34 -0
  3. package/.output/public/assets/LoopView-B4H9QibC.js +55 -0
  4. package/.output/public/assets/Modal-D33gNSgx.js +1 -0
  5. package/.output/public/assets/SignIn-SHuRRyOv.js +1 -0
  6. package/.output/public/assets/actionUi-ChGGALzg.js +1 -0
  7. package/.output/public/assets/app-DElSo_jy.css +2 -0
  8. package/.output/public/assets/artifactView-DFuubXLJ.js +66 -0
  9. package/.output/public/assets/index-DfpTWRSz.js +12 -0
  10. package/.output/public/assets/invite._token-DJtd-XE2.js +1 -0
  11. package/.output/public/assets/invite._token-T8oo4Qtw.js +1 -0
  12. package/.output/public/assets/jsx-runtime-BseJUIpC.js +1 -0
  13. package/.output/public/assets/lifecycleUi-DKkChdnU.js +1 -0
  14. package/.output/public/assets/loopApi-BM2nj71x.js +3 -0
  15. package/.output/public/assets/loops._loopId-B19Jw7jC.js +5 -0
  16. package/.output/public/assets/loops._loopId_.runs._runId-_CflHV38.js +3 -0
  17. package/.output/public/assets/notifyFns-DCubjpRy.js +1 -0
  18. package/.output/public/assets/preload-helper-CKUiEq3b.js +3 -0
  19. package/.output/public/assets/routes-B9tgli5f.js +1 -0
  20. package/.output/public/assets/routes-CTtlM_qt.js +1 -0
  21. package/.output/public/assets/t._teamId-Bm21mngW.js +1 -0
  22. package/.output/public/assets/t._teamId-gR7BVKkR.js +1 -0
  23. package/.output/public/assets/ui-Dp88qUWh.js +1 -0
  24. package/.output/public/assets/useRouter-DsjH8G0p.js +1 -0
  25. package/.output/public/favicon.svg +12 -0
  26. package/.output/public/fonts/GeistPixel-Square.woff2 +0 -0
  27. package/.output/server/_chunks/ssr-renderer.mjs +26 -0
  28. package/.output/server/_libs/@aws-crypto/crc32+[...].mjs +419 -0
  29. package/.output/server/_libs/@aws-sdk/checksums+[...].mjs +10732 -0
  30. package/.output/server/_libs/@aws-sdk/client-s3+[...].mjs +9475 -0
  31. package/.output/server/_libs/@aws-sdk/credential-provider-http+[...].mjs +137 -0
  32. package/.output/server/_libs/@aws-sdk/credential-provider-ini+[...].mjs +440 -0
  33. package/.output/server/_libs/@aws-sdk/credential-provider-process+[...].mjs +62 -0
  34. package/.output/server/_libs/@aws-sdk/credential-provider-sso+[...].mjs +818 -0
  35. package/.output/server/_libs/@aws-sdk/credential-provider-web-identity+[...].mjs +59 -0
  36. package/.output/server/_libs/@base-ui/react+[...].mjs +11125 -0
  37. package/.output/server/_libs/@codemirror/autocomplete+[...].mjs +19713 -0
  38. package/.output/server/_libs/@codemirror/lang-css+[...].mjs +2636 -0
  39. package/.output/server/_libs/@codemirror/lang-html+[...].mjs +2247 -0
  40. package/.output/server/_libs/@codemirror/lang-json+[...].mjs +79 -0
  41. package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +1736 -0
  42. package/.output/server/_libs/@smithy/credential-provider-imds+[...].mjs +342 -0
  43. package/.output/server/_libs/@tanstack/react-router+[...].mjs +14300 -0
  44. package/.output/server/_libs/@uiw/codemirror-extensions-basic-setup+[...].mjs +76 -0
  45. package/.output/server/_libs/atomic-sleep.mjs +27 -0
  46. package/.output/server/_libs/aws-crypto__crc32c.mjs +314 -0
  47. package/.output/server/_libs/aws-sdk__nested-clients.mjs +2671 -0
  48. package/.output/server/_libs/babel__runtime.mjs +30 -0
  49. package/.output/server/_libs/clsx.mjs +16 -0
  50. package/.output/server/_libs/codemirror__commands.mjs +1725 -0
  51. package/.output/server/_libs/codemirror__lint.mjs +565 -0
  52. package/.output/server/_libs/codemirror__search.mjs +1138 -0
  53. package/.output/server/_libs/codemirror__theme-one-dark.mjs +161 -0
  54. package/.output/server/_libs/colorette.mjs +129 -0
  55. package/.output/server/_libs/croner.mjs +735 -0
  56. package/.output/server/_libs/d3-array.mjs +231 -0
  57. package/.output/server/_libs/d3-color.mjs +330 -0
  58. package/.output/server/_libs/d3-format.mjs +252 -0
  59. package/.output/server/_libs/d3-interpolate.mjs +163 -0
  60. package/.output/server/_libs/d3-path.mjs +77 -0
  61. package/.output/server/_libs/d3-scale+[...].mjs +1907 -0
  62. package/.output/server/_libs/d3-shape.mjs +689 -0
  63. package/.output/server/_libs/dateformat.mjs +341 -0
  64. package/.output/server/_libs/decimal.js-light.mjs +884 -0
  65. package/.output/server/_libs/diff.mjs +732 -0
  66. package/.output/server/_libs/dom-serializer+[...].mjs +708 -0
  67. package/.output/server/_libs/domhandler.mjs +461 -0
  68. package/.output/server/_libs/dompurify.mjs +2111 -0
  69. package/.output/server/_libs/domutils.mjs +868 -0
  70. package/.output/server/_libs/drizzle-orm+postgres.mjs +7689 -0
  71. package/.output/server/_libs/electric-sql__pglite.mjs +14674 -0
  72. package/.output/server/_libs/end-of-stream+once+wrappy.mjs +145 -0
  73. package/.output/server/_libs/es-toolkit.mjs +1737 -0
  74. package/.output/server/_libs/eventemitter3.mjs +236 -0
  75. package/.output/server/_libs/fast-copy.mjs +285 -0
  76. package/.output/server/_libs/fast-safe-stringify.mjs +172 -0
  77. package/.output/server/_libs/h3+rou3+srvx.mjs +1201 -0
  78. package/.output/server/_libs/html-dom-parser+htmlparser2.mjs +1560 -0
  79. package/.output/server/_libs/html-react-parser+[...].mjs +1360 -0
  80. package/.output/server/_libs/initdb.wasm +0 -0
  81. package/.output/server/_libs/marked.mjs +1548 -0
  82. package/.output/server/_libs/on-exit-leak-free.mjs +80 -0
  83. package/.output/server/_libs/pglite.data +37667 -8
  84. package/.output/server/_libs/pglite.wasm +0 -0
  85. package/.output/server/_libs/pino+[...].mjs +3196 -0
  86. package/.output/server/_libs/pino-abstract-transport+split2.mjs +194 -0
  87. package/.output/server/_libs/pino-pretty+[...].mjs +1623 -0
  88. package/.output/server/_libs/pinojs__redact.mjs +280 -0
  89. package/.output/server/_libs/react-redux+[...].mjs +205 -0
  90. package/.output/server/_libs/recharts+victory-vendor.mjs +15875 -0
  91. package/.output/server/_libs/tanstack__history.mjs +342 -0
  92. package/.output/server/_libs/ufo.mjs +64 -0
  93. package/.output/server/_libs/uiw__codemirror-themes.mjs +32 -0
  94. package/.output/server/_libs/uiw__react-codemirror.mjs +354 -0
  95. package/.output/server/_runtime.mjs +37 -0
  96. package/.output/server/_ssr/CodeField-tm4rr6G3.mjs +143 -0
  97. package/.output/server/_ssr/DashboardView-CC7htv28.mjs +2795 -0
  98. package/.output/server/_ssr/LoopPlaybook-BXH8mhiX.mjs +2105 -0
  99. package/.output/server/_ssr/LoopView-DCugEbHx.mjs +1106 -0
  100. package/.output/server/_ssr/Modal-DpKZHLZK.mjs +49 -0
  101. package/.output/server/_ssr/SignIn-dTndU6Hw.mjs +67 -0
  102. package/.output/server/_ssr/actionUi-CZbEixbf.mjs +119 -0
  103. package/.output/server/_ssr/adapters-BS8XosjF.mjs +130 -0
  104. package/.output/server/_ssr/artifactFiles-Cagtj7J0.mjs +61 -0
  105. package/.output/server/_ssr/artifactKind-BW0isV8L.mjs +37 -0
  106. package/.output/server/_ssr/artifactView-DS4O22wl.mjs +304 -0
  107. package/.output/server/_ssr/artifacts-DngKyW2u.mjs +2 -0
  108. package/.output/server/_ssr/auth-DY1DuYZd.mjs +38429 -0
  109. package/.output/server/_ssr/boot-BbtG0ImW.mjs +9010 -0
  110. package/.output/server/_ssr/boot-CMHTxQpJ.mjs +2 -0
  111. package/.output/server/_ssr/bun-sqlite-dialect-BW9W1_Ps-CU1Spd6z.mjs +162 -0
  112. package/.output/server/_ssr/core-RrmWoKne.mjs +5 -0
  113. package/.output/server/_ssr/createServerRpc-BD8Xn_0_.mjs +12 -0
  114. package/.output/server/_ssr/d1-sqlite-dialect-BLC8LXE6-DfG7tB8s.mjs +112 -0
  115. package/.output/server/_ssr/db-DWAuZq1o.mjs +2 -0
  116. package/.output/server/_ssr/dist-BIxFFVZg.mjs +342 -0
  117. package/.output/server/_ssr/empty-plugin-adapters-DKUlnwwl.mjs +5 -0
  118. package/.output/server/_ssr/factory-Blq0DYfT.mjs +6903 -0
  119. package/.output/server/_ssr/invite._token-BRCo9LGB.mjs +36 -0
  120. package/.output/server/_ssr/invite._token-DJxGLILJ.mjs +28 -0
  121. package/.output/server/_ssr/invite._token-NewFt27g.mjs +92 -0
  122. package/.output/server/_ssr/kysely-adapter-D3XTe64J.mjs +2 -0
  123. package/.output/server/_ssr/kysely-migration-tables-JkVUjPF_-bPAX9LR_.mjs +19 -0
  124. package/.output/server/_ssr/lifecycleUi-C9lg1r3r.mjs +38 -0
  125. package/.output/server/_ssr/logger-Dw82jNjH.mjs +2 -0
  126. package/.output/server/_ssr/loopApi-BtfkZQYK.mjs +532 -0
  127. package/.output/server/_ssr/loopApi-Cxe8WyOB.mjs +105 -0
  128. package/.output/server/_ssr/loops._loopId-7NQJPB9W.mjs +30 -0
  129. package/.output/server/_ssr/loops._loopId-DhnArGdL.mjs +1635 -0
  130. package/.output/server/_ssr/loops._loopId_.runs._runId-Bvuo2nki.mjs +29 -0
  131. package/.output/server/_ssr/loops._loopId_.runs._runId-Dip5Xk-q.mjs +674 -0
  132. package/.output/server/_ssr/machineFns-Dvr5ICUy.mjs +266 -0
  133. package/.output/server/_ssr/node-sqlite-dialect-DhyOpJTX.mjs +162 -0
  134. package/.output/server/_ssr/notifyFns-BcMRY5kP.mjs +118 -0
  135. package/.output/server/_ssr/notifyFns-Q458pZmE.mjs +580 -0
  136. package/.output/server/_ssr/router-J8KZ30xw.mjs +678 -0
  137. package/.output/server/_ssr/routes-Bcs4T1ox.mjs +28 -0
  138. package/.output/server/_ssr/routes-BoGrcf-b.mjs +43 -0
  139. package/.output/server/_ssr/routes-D4am3Zff.mjs +28 -0
  140. package/.output/server/_ssr/runDiff-CpEFqo7G.mjs +113 -0
  141. package/.output/server/_ssr/ssr.mjs +5837 -0
  142. package/.output/server/_ssr/start-4ifArtKx.mjs +4 -0
  143. package/.output/server/_ssr/store-b3JcQ08F.mjs +2 -0
  144. package/.output/server/_ssr/t._teamId-CeUhzgzT.mjs +32 -0
  145. package/.output/server/_ssr/t._teamId-DR-hQK7o.mjs +47 -0
  146. package/.output/server/_ssr/t._teamId-Dy_McbRt.mjs +31 -0
  147. package/.output/server/_ssr/teamCookie-B7hLOIie.mjs +10 -0
  148. package/.output/server/_ssr/teamFns-BIDnsg2A.mjs +473 -0
  149. package/.output/server/_ssr/teamFns-DA4ovI5g.mjs +33 -0
  150. package/.output/server/_ssr/tokens-ytd60FUt.mjs +2 -0
  151. package/.output/server/_ssr/ui-Dej2qjuS.mjs +267 -0
  152. package/.output/server/_tanstack-start-manifest_v-CVS6c7re.mjs +95 -0
  153. package/.output/server/drizzle/0000_round_marauders.sql +193 -0
  154. package/.output/server/drizzle/0001_naive_silver_fox.sql +25 -0
  155. package/.output/server/drizzle/0002_funny_sage.sql +12 -0
  156. package/.output/server/drizzle/0003_optimal_slapstick.sql +102 -0
  157. package/.output/server/drizzle/0004_remove_grok_agent.sql +5 -0
  158. package/.output/server/drizzle/0005_heavy_gauntlet.sql +8 -0
  159. package/.output/server/drizzle/0006_tranquil_sharon_carter.sql +1 -0
  160. package/.output/server/drizzle/0007_faulty_starbolt.sql +30 -0
  161. package/.output/server/drizzle/0008_durable_lifecycle_evidence.sql +15 -0
  162. package/.output/server/drizzle/meta/0000_snapshot.json +1333 -0
  163. package/.output/server/drizzle/meta/0001_snapshot.json +1498 -0
  164. package/.output/server/drizzle/meta/0002_snapshot.json +1576 -0
  165. package/.output/server/drizzle/meta/0003_snapshot.json +1666 -0
  166. package/.output/server/drizzle/meta/0005_snapshot.json +1666 -0
  167. package/.output/server/drizzle/meta/0006_snapshot.json +1672 -0
  168. package/.output/server/drizzle/meta/0007_snapshot.json +1787 -0
  169. package/.output/server/drizzle/meta/_journal.json +69 -0
  170. package/.output/server/index.mjs +464 -0
  171. package/.output/server/node_modules/tslib/modules/index.js +70 -0
  172. package/.output/server/node_modules/tslib/modules/package.json +3 -0
  173. package/.output/server/node_modules/tslib/package.json +47 -0
  174. package/.output/server/node_modules/tslib/tslib.js +484 -0
  175. package/.output/server/package.json +9 -0
  176. package/LICENSE +21 -0
  177. package/drizzle/0000_round_marauders.sql +193 -0
  178. package/drizzle/0001_naive_silver_fox.sql +25 -0
  179. package/drizzle/0002_funny_sage.sql +12 -0
  180. package/drizzle/0003_optimal_slapstick.sql +102 -0
  181. package/drizzle/0004_remove_grok_agent.sql +5 -0
  182. package/drizzle/0005_heavy_gauntlet.sql +8 -0
  183. package/drizzle/0006_tranquil_sharon_carter.sql +1 -0
  184. package/drizzle/0007_faulty_starbolt.sql +30 -0
  185. package/drizzle/0008_durable_lifecycle_evidence.sql +15 -0
  186. package/drizzle/meta/0000_snapshot.json +1333 -0
  187. package/drizzle/meta/0001_snapshot.json +1498 -0
  188. package/drizzle/meta/0002_snapshot.json +1576 -0
  189. package/drizzle/meta/0003_snapshot.json +1666 -0
  190. package/drizzle/meta/0005_snapshot.json +1666 -0
  191. package/drizzle/meta/0006_snapshot.json +1672 -0
  192. package/drizzle/meta/0007_snapshot.json +1787 -0
  193. package/drizzle/meta/_journal.json +69 -0
  194. package/package.json +84 -0
  195. package/scripts/pievo-server.mjs +390 -0
  196. package/scripts/prestart.mjs +66 -0
  197. package/scripts/server-cli-lib.mjs +451 -0
@@ -0,0 +1,1333 @@
1
+ {
2
+ "id": "17779b04-4ab2-4199-8651-12a4b85d6067",
3
+ "prevId": "00000000-0000-0000-0000-000000000000",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.artifact_files": {
8
+ "name": "artifact_files",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "loop_id": {
18
+ "name": "loop_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "path": {
24
+ "name": "path",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "hash": {
30
+ "name": "hash",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": false
34
+ },
35
+ "size": {
36
+ "name": "size",
37
+ "type": "integer",
38
+ "primaryKey": false,
39
+ "notNull": false
40
+ },
41
+ "binary": {
42
+ "name": "binary",
43
+ "type": "boolean",
44
+ "primaryKey": false,
45
+ "notNull": true,
46
+ "default": false
47
+ },
48
+ "oversize": {
49
+ "name": "oversize",
50
+ "type": "boolean",
51
+ "primaryKey": false,
52
+ "notNull": true,
53
+ "default": false
54
+ },
55
+ "deleted": {
56
+ "name": "deleted",
57
+ "type": "boolean",
58
+ "primaryKey": false,
59
+ "notNull": true,
60
+ "default": false
61
+ },
62
+ "updated_at": {
63
+ "name": "updated_at",
64
+ "type": "text",
65
+ "primaryKey": false,
66
+ "notNull": true
67
+ },
68
+ "last_run_id": {
69
+ "name": "last_run_id",
70
+ "type": "text",
71
+ "primaryKey": false,
72
+ "notNull": false
73
+ }
74
+ },
75
+ "indexes": {
76
+ "artifact_files_loop_idx": {
77
+ "name": "artifact_files_loop_idx",
78
+ "columns": [
79
+ {
80
+ "expression": "loop_id",
81
+ "isExpression": false,
82
+ "asc": true,
83
+ "nulls": "last"
84
+ }
85
+ ],
86
+ "isUnique": false,
87
+ "concurrently": false,
88
+ "method": "btree",
89
+ "with": {}
90
+ },
91
+ "artifact_files_loop_path_idx": {
92
+ "name": "artifact_files_loop_path_idx",
93
+ "columns": [
94
+ {
95
+ "expression": "loop_id",
96
+ "isExpression": false,
97
+ "asc": true,
98
+ "nulls": "last"
99
+ },
100
+ {
101
+ "expression": "path",
102
+ "isExpression": false,
103
+ "asc": true,
104
+ "nulls": "last"
105
+ }
106
+ ],
107
+ "isUnique": true,
108
+ "concurrently": false,
109
+ "method": "btree",
110
+ "with": {}
111
+ },
112
+ "artifact_files_hash_idx": {
113
+ "name": "artifact_files_hash_idx",
114
+ "columns": [
115
+ {
116
+ "expression": "hash",
117
+ "isExpression": false,
118
+ "asc": true,
119
+ "nulls": "last"
120
+ }
121
+ ],
122
+ "isUnique": false,
123
+ "concurrently": false,
124
+ "method": "btree",
125
+ "with": {}
126
+ }
127
+ },
128
+ "foreignKeys": {},
129
+ "compositePrimaryKeys": {},
130
+ "uniqueConstraints": {},
131
+ "policies": {},
132
+ "checkConstraints": {},
133
+ "isRLSEnabled": false
134
+ },
135
+ "public.blobs": {
136
+ "name": "blobs",
137
+ "schema": "",
138
+ "columns": {
139
+ "hash": {
140
+ "name": "hash",
141
+ "type": "text",
142
+ "primaryKey": true,
143
+ "notNull": true
144
+ },
145
+ "size": {
146
+ "name": "size",
147
+ "type": "integer",
148
+ "primaryKey": false,
149
+ "notNull": true
150
+ },
151
+ "binary": {
152
+ "name": "binary",
153
+ "type": "boolean",
154
+ "primaryKey": false,
155
+ "notNull": true,
156
+ "default": false
157
+ },
158
+ "meta": {
159
+ "name": "meta",
160
+ "type": "jsonb",
161
+ "primaryKey": false,
162
+ "notNull": false
163
+ },
164
+ "created_at": {
165
+ "name": "created_at",
166
+ "type": "text",
167
+ "primaryKey": false,
168
+ "notNull": true
169
+ }
170
+ },
171
+ "indexes": {},
172
+ "foreignKeys": {},
173
+ "compositePrimaryKeys": {},
174
+ "uniqueConstraints": {},
175
+ "policies": {},
176
+ "checkConstraints": {},
177
+ "isRLSEnabled": false
178
+ },
179
+ "public.loops": {
180
+ "name": "loops",
181
+ "schema": "",
182
+ "columns": {
183
+ "id": {
184
+ "name": "id",
185
+ "type": "text",
186
+ "primaryKey": true,
187
+ "notNull": true
188
+ },
189
+ "user_id": {
190
+ "name": "user_id",
191
+ "type": "text",
192
+ "primaryKey": false,
193
+ "notNull": true
194
+ },
195
+ "team_id": {
196
+ "name": "team_id",
197
+ "type": "text",
198
+ "primaryKey": false,
199
+ "notNull": false
200
+ },
201
+ "channel_id": {
202
+ "name": "channel_id",
203
+ "type": "text",
204
+ "primaryKey": false,
205
+ "notNull": false
206
+ },
207
+ "machine_id": {
208
+ "name": "machine_id",
209
+ "type": "text",
210
+ "primaryKey": false,
211
+ "notNull": true
212
+ },
213
+ "name": {
214
+ "name": "name",
215
+ "type": "text",
216
+ "primaryKey": false,
217
+ "notNull": false
218
+ },
219
+ "cron": {
220
+ "name": "cron",
221
+ "type": "text",
222
+ "primaryKey": false,
223
+ "notNull": true
224
+ },
225
+ "timezone": {
226
+ "name": "timezone",
227
+ "type": "text",
228
+ "primaryKey": false,
229
+ "notNull": false
230
+ },
231
+ "workdir": {
232
+ "name": "workdir",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": false
236
+ },
237
+ "task_file": {
238
+ "name": "task_file",
239
+ "type": "text",
240
+ "primaryKey": false,
241
+ "notNull": false
242
+ },
243
+ "task_file_content": {
244
+ "name": "task_file_content",
245
+ "type": "text",
246
+ "primaryKey": false,
247
+ "notNull": false
248
+ },
249
+ "task_file_synced_at": {
250
+ "name": "task_file_synced_at",
251
+ "type": "text",
252
+ "primaryKey": false,
253
+ "notNull": false
254
+ },
255
+ "workflow": {
256
+ "name": "workflow",
257
+ "type": "text",
258
+ "primaryKey": false,
259
+ "notNull": false
260
+ },
261
+ "ui": {
262
+ "name": "ui",
263
+ "type": "text",
264
+ "primaryKey": false,
265
+ "notNull": false
266
+ },
267
+ "state_schema": {
268
+ "name": "state_schema",
269
+ "type": "jsonb",
270
+ "primaryKey": false,
271
+ "notNull": false
272
+ },
273
+ "notify": {
274
+ "name": "notify",
275
+ "type": "text",
276
+ "primaryKey": false,
277
+ "notNull": true,
278
+ "default": "'auto'"
279
+ },
280
+ "allow_control": {
281
+ "name": "allow_control",
282
+ "type": "boolean",
283
+ "primaryKey": false,
284
+ "notNull": true,
285
+ "default": true
286
+ },
287
+ "goal": {
288
+ "name": "goal",
289
+ "type": "text",
290
+ "primaryKey": false,
291
+ "notNull": false
292
+ },
293
+ "completed_at": {
294
+ "name": "completed_at",
295
+ "type": "text",
296
+ "primaryKey": false,
297
+ "notNull": false
298
+ },
299
+ "completion_reason": {
300
+ "name": "completion_reason",
301
+ "type": "text",
302
+ "primaryKey": false,
303
+ "notNull": false
304
+ },
305
+ "model": {
306
+ "name": "model",
307
+ "type": "text",
308
+ "primaryKey": false,
309
+ "notNull": false
310
+ },
311
+ "agent": {
312
+ "name": "agent",
313
+ "type": "text",
314
+ "primaryKey": false,
315
+ "notNull": true,
316
+ "default": "'claude-code'"
317
+ },
318
+ "enabled": {
319
+ "name": "enabled",
320
+ "type": "boolean",
321
+ "primaryKey": false,
322
+ "notNull": true,
323
+ "default": true
324
+ },
325
+ "next_run_at": {
326
+ "name": "next_run_at",
327
+ "type": "text",
328
+ "primaryKey": false,
329
+ "notNull": false
330
+ },
331
+ "state": {
332
+ "name": "state",
333
+ "type": "jsonb",
334
+ "primaryKey": false,
335
+ "notNull": false
336
+ },
337
+ "evolved_run_count": {
338
+ "name": "evolved_run_count",
339
+ "type": "integer",
340
+ "primaryKey": false,
341
+ "notNull": false
342
+ },
343
+ "evolve_due": {
344
+ "name": "evolve_due",
345
+ "type": "boolean",
346
+ "primaryKey": false,
347
+ "notNull": false
348
+ },
349
+ "edit_request": {
350
+ "name": "edit_request",
351
+ "type": "text",
352
+ "primaryKey": false,
353
+ "notNull": false
354
+ },
355
+ "created_at": {
356
+ "name": "created_at",
357
+ "type": "text",
358
+ "primaryKey": false,
359
+ "notNull": true
360
+ },
361
+ "updated_at": {
362
+ "name": "updated_at",
363
+ "type": "text",
364
+ "primaryKey": false,
365
+ "notNull": true
366
+ }
367
+ },
368
+ "indexes": {
369
+ "loops_user_idx": {
370
+ "name": "loops_user_idx",
371
+ "columns": [
372
+ {
373
+ "expression": "user_id",
374
+ "isExpression": false,
375
+ "asc": true,
376
+ "nulls": "last"
377
+ }
378
+ ],
379
+ "isUnique": false,
380
+ "concurrently": false,
381
+ "method": "btree",
382
+ "with": {}
383
+ },
384
+ "loops_team_idx": {
385
+ "name": "loops_team_idx",
386
+ "columns": [
387
+ {
388
+ "expression": "team_id",
389
+ "isExpression": false,
390
+ "asc": true,
391
+ "nulls": "last"
392
+ }
393
+ ],
394
+ "isUnique": false,
395
+ "concurrently": false,
396
+ "method": "btree",
397
+ "with": {}
398
+ },
399
+ "loops_machine_idx": {
400
+ "name": "loops_machine_idx",
401
+ "columns": [
402
+ {
403
+ "expression": "machine_id",
404
+ "isExpression": false,
405
+ "asc": true,
406
+ "nulls": "last"
407
+ }
408
+ ],
409
+ "isUnique": false,
410
+ "concurrently": false,
411
+ "method": "btree",
412
+ "with": {}
413
+ }
414
+ },
415
+ "foreignKeys": {},
416
+ "compositePrimaryKeys": {},
417
+ "uniqueConstraints": {},
418
+ "policies": {},
419
+ "checkConstraints": {},
420
+ "isRLSEnabled": false
421
+ },
422
+ "public.machines": {
423
+ "name": "machines",
424
+ "schema": "",
425
+ "columns": {
426
+ "id": {
427
+ "name": "id",
428
+ "type": "text",
429
+ "primaryKey": true,
430
+ "notNull": true
431
+ },
432
+ "user_id": {
433
+ "name": "user_id",
434
+ "type": "text",
435
+ "primaryKey": false,
436
+ "notNull": true
437
+ },
438
+ "team_id": {
439
+ "name": "team_id",
440
+ "type": "text",
441
+ "primaryKey": false,
442
+ "notNull": false
443
+ },
444
+ "name": {
445
+ "name": "name",
446
+ "type": "text",
447
+ "primaryKey": false,
448
+ "notNull": true
449
+ },
450
+ "hostname": {
451
+ "name": "hostname",
452
+ "type": "text",
453
+ "primaryKey": false,
454
+ "notNull": false
455
+ },
456
+ "platform": {
457
+ "name": "platform",
458
+ "type": "text",
459
+ "primaryKey": false,
460
+ "notNull": false
461
+ },
462
+ "arch": {
463
+ "name": "arch",
464
+ "type": "text",
465
+ "primaryKey": false,
466
+ "notNull": false
467
+ },
468
+ "daemon_version": {
469
+ "name": "daemon_version",
470
+ "type": "text",
471
+ "primaryKey": false,
472
+ "notNull": false
473
+ },
474
+ "token_hash": {
475
+ "name": "token_hash",
476
+ "type": "text",
477
+ "primaryKey": false,
478
+ "notNull": true
479
+ },
480
+ "token": {
481
+ "name": "token",
482
+ "type": "text",
483
+ "primaryKey": false,
484
+ "notNull": false
485
+ },
486
+ "roots": {
487
+ "name": "roots",
488
+ "type": "jsonb",
489
+ "primaryKey": false,
490
+ "notNull": false
491
+ },
492
+ "last_seen": {
493
+ "name": "last_seen",
494
+ "type": "text",
495
+ "primaryKey": false,
496
+ "notNull": false
497
+ },
498
+ "online": {
499
+ "name": "online",
500
+ "type": "boolean",
501
+ "primaryKey": false,
502
+ "notNull": true,
503
+ "default": false
504
+ },
505
+ "created_at": {
506
+ "name": "created_at",
507
+ "type": "text",
508
+ "primaryKey": false,
509
+ "notNull": true
510
+ }
511
+ },
512
+ "indexes": {
513
+ "machines_user_idx": {
514
+ "name": "machines_user_idx",
515
+ "columns": [
516
+ {
517
+ "expression": "user_id",
518
+ "isExpression": false,
519
+ "asc": true,
520
+ "nulls": "last"
521
+ }
522
+ ],
523
+ "isUnique": false,
524
+ "concurrently": false,
525
+ "method": "btree",
526
+ "with": {}
527
+ },
528
+ "machines_team_idx": {
529
+ "name": "machines_team_idx",
530
+ "columns": [
531
+ {
532
+ "expression": "team_id",
533
+ "isExpression": false,
534
+ "asc": true,
535
+ "nulls": "last"
536
+ }
537
+ ],
538
+ "isUnique": false,
539
+ "concurrently": false,
540
+ "method": "btree",
541
+ "with": {}
542
+ }
543
+ },
544
+ "foreignKeys": {},
545
+ "compositePrimaryKeys": {},
546
+ "uniqueConstraints": {},
547
+ "policies": {},
548
+ "checkConstraints": {},
549
+ "isRLSEnabled": false
550
+ },
551
+ "public.notification_channels": {
552
+ "name": "notification_channels",
553
+ "schema": "",
554
+ "columns": {
555
+ "id": {
556
+ "name": "id",
557
+ "type": "text",
558
+ "primaryKey": true,
559
+ "notNull": true
560
+ },
561
+ "team_id": {
562
+ "name": "team_id",
563
+ "type": "text",
564
+ "primaryKey": false,
565
+ "notNull": true
566
+ },
567
+ "type": {
568
+ "name": "type",
569
+ "type": "text",
570
+ "primaryKey": false,
571
+ "notNull": true
572
+ },
573
+ "name": {
574
+ "name": "name",
575
+ "type": "text",
576
+ "primaryKey": false,
577
+ "notNull": true
578
+ },
579
+ "config": {
580
+ "name": "config",
581
+ "type": "jsonb",
582
+ "primaryKey": false,
583
+ "notNull": true
584
+ },
585
+ "created_at": {
586
+ "name": "created_at",
587
+ "type": "text",
588
+ "primaryKey": false,
589
+ "notNull": true
590
+ }
591
+ },
592
+ "indexes": {
593
+ "notification_channels_team_idx": {
594
+ "name": "notification_channels_team_idx",
595
+ "columns": [
596
+ {
597
+ "expression": "team_id",
598
+ "isExpression": false,
599
+ "asc": true,
600
+ "nulls": "last"
601
+ }
602
+ ],
603
+ "isUnique": false,
604
+ "concurrently": false,
605
+ "method": "btree",
606
+ "with": {}
607
+ }
608
+ },
609
+ "foreignKeys": {},
610
+ "compositePrimaryKeys": {},
611
+ "uniqueConstraints": {},
612
+ "policies": {},
613
+ "checkConstraints": {},
614
+ "isRLSEnabled": false
615
+ },
616
+ "public.run_snapshots": {
617
+ "name": "run_snapshots",
618
+ "schema": "",
619
+ "columns": {
620
+ "run_id": {
621
+ "name": "run_id",
622
+ "type": "text",
623
+ "primaryKey": true,
624
+ "notNull": true
625
+ },
626
+ "loop_id": {
627
+ "name": "loop_id",
628
+ "type": "text",
629
+ "primaryKey": false,
630
+ "notNull": true
631
+ },
632
+ "manifest": {
633
+ "name": "manifest",
634
+ "type": "jsonb",
635
+ "primaryKey": false,
636
+ "notNull": true
637
+ },
638
+ "created_at": {
639
+ "name": "created_at",
640
+ "type": "text",
641
+ "primaryKey": false,
642
+ "notNull": true
643
+ }
644
+ },
645
+ "indexes": {
646
+ "run_snapshots_loop_idx": {
647
+ "name": "run_snapshots_loop_idx",
648
+ "columns": [
649
+ {
650
+ "expression": "loop_id",
651
+ "isExpression": false,
652
+ "asc": true,
653
+ "nulls": "last"
654
+ }
655
+ ],
656
+ "isUnique": false,
657
+ "concurrently": false,
658
+ "method": "btree",
659
+ "with": {}
660
+ }
661
+ },
662
+ "foreignKeys": {},
663
+ "compositePrimaryKeys": {},
664
+ "uniqueConstraints": {},
665
+ "policies": {},
666
+ "checkConstraints": {},
667
+ "isRLSEnabled": false
668
+ },
669
+ "public.runs": {
670
+ "name": "runs",
671
+ "schema": "",
672
+ "columns": {
673
+ "id": {
674
+ "name": "id",
675
+ "type": "text",
676
+ "primaryKey": true,
677
+ "notNull": true
678
+ },
679
+ "loop_id": {
680
+ "name": "loop_id",
681
+ "type": "text",
682
+ "primaryKey": false,
683
+ "notNull": true
684
+ },
685
+ "user_id": {
686
+ "name": "user_id",
687
+ "type": "text",
688
+ "primaryKey": false,
689
+ "notNull": true
690
+ },
691
+ "machine_id": {
692
+ "name": "machine_id",
693
+ "type": "text",
694
+ "primaryKey": false,
695
+ "notNull": true
696
+ },
697
+ "phase": {
698
+ "name": "phase",
699
+ "type": "text",
700
+ "primaryKey": false,
701
+ "notNull": true
702
+ },
703
+ "role": {
704
+ "name": "role",
705
+ "type": "text",
706
+ "primaryKey": false,
707
+ "notNull": true
708
+ },
709
+ "ts": {
710
+ "name": "ts",
711
+ "type": "text",
712
+ "primaryKey": false,
713
+ "notNull": true
714
+ },
715
+ "outcome": {
716
+ "name": "outcome",
717
+ "type": "text",
718
+ "primaryKey": false,
719
+ "notNull": false
720
+ },
721
+ "status": {
722
+ "name": "status",
723
+ "type": "text",
724
+ "primaryKey": false,
725
+ "notNull": false
726
+ },
727
+ "message": {
728
+ "name": "message",
729
+ "type": "text",
730
+ "primaryKey": false,
731
+ "notNull": false
732
+ },
733
+ "duration_ms": {
734
+ "name": "duration_ms",
735
+ "type": "integer",
736
+ "primaryKey": false,
737
+ "notNull": false
738
+ },
739
+ "error": {
740
+ "name": "error",
741
+ "type": "text",
742
+ "primaryKey": false,
743
+ "notNull": false
744
+ },
745
+ "state": {
746
+ "name": "state",
747
+ "type": "jsonb",
748
+ "primaryKey": false,
749
+ "notNull": false
750
+ },
751
+ "control": {
752
+ "name": "control",
753
+ "type": "jsonb",
754
+ "primaryKey": false,
755
+ "notNull": false
756
+ },
757
+ "session_id": {
758
+ "name": "session_id",
759
+ "type": "text",
760
+ "primaryKey": false,
761
+ "notNull": false
762
+ },
763
+ "cost_usd": {
764
+ "name": "cost_usd",
765
+ "type": "double precision",
766
+ "primaryKey": false,
767
+ "notNull": false
768
+ },
769
+ "usage": {
770
+ "name": "usage",
771
+ "type": "jsonb",
772
+ "primaryKey": false,
773
+ "notNull": false
774
+ },
775
+ "artifacts": {
776
+ "name": "artifacts",
777
+ "type": "jsonb",
778
+ "primaryKey": false,
779
+ "notNull": false
780
+ },
781
+ "transcript": {
782
+ "name": "transcript",
783
+ "type": "jsonb",
784
+ "primaryKey": false,
785
+ "notNull": false
786
+ },
787
+ "progress": {
788
+ "name": "progress",
789
+ "type": "jsonb",
790
+ "primaryKey": false,
791
+ "notNull": false
792
+ }
793
+ },
794
+ "indexes": {
795
+ "runs_loop_idx": {
796
+ "name": "runs_loop_idx",
797
+ "columns": [
798
+ {
799
+ "expression": "loop_id",
800
+ "isExpression": false,
801
+ "asc": true,
802
+ "nulls": "last"
803
+ }
804
+ ],
805
+ "isUnique": false,
806
+ "concurrently": false,
807
+ "method": "btree",
808
+ "with": {}
809
+ },
810
+ "runs_phase_idx": {
811
+ "name": "runs_phase_idx",
812
+ "columns": [
813
+ {
814
+ "expression": "phase",
815
+ "isExpression": false,
816
+ "asc": true,
817
+ "nulls": "last"
818
+ }
819
+ ],
820
+ "isUnique": false,
821
+ "concurrently": false,
822
+ "method": "btree",
823
+ "with": {}
824
+ },
825
+ "runs_loop_ts_idx": {
826
+ "name": "runs_loop_ts_idx",
827
+ "columns": [
828
+ {
829
+ "expression": "loop_id",
830
+ "isExpression": false,
831
+ "asc": true,
832
+ "nulls": "last"
833
+ },
834
+ {
835
+ "expression": "ts",
836
+ "isExpression": false,
837
+ "asc": true,
838
+ "nulls": "last"
839
+ }
840
+ ],
841
+ "isUnique": false,
842
+ "concurrently": false,
843
+ "method": "btree",
844
+ "with": {}
845
+ }
846
+ },
847
+ "foreignKeys": {},
848
+ "compositePrimaryKeys": {},
849
+ "uniqueConstraints": {},
850
+ "policies": {},
851
+ "checkConstraints": {},
852
+ "isRLSEnabled": false
853
+ },
854
+ "public.team_members": {
855
+ "name": "team_members",
856
+ "schema": "",
857
+ "columns": {
858
+ "id": {
859
+ "name": "id",
860
+ "type": "text",
861
+ "primaryKey": true,
862
+ "notNull": true
863
+ },
864
+ "team_id": {
865
+ "name": "team_id",
866
+ "type": "text",
867
+ "primaryKey": false,
868
+ "notNull": true
869
+ },
870
+ "user_id": {
871
+ "name": "user_id",
872
+ "type": "text",
873
+ "primaryKey": false,
874
+ "notNull": true
875
+ },
876
+ "role": {
877
+ "name": "role",
878
+ "type": "text",
879
+ "primaryKey": false,
880
+ "notNull": true,
881
+ "default": "'member'"
882
+ },
883
+ "created_at": {
884
+ "name": "created_at",
885
+ "type": "text",
886
+ "primaryKey": false,
887
+ "notNull": true
888
+ }
889
+ },
890
+ "indexes": {
891
+ "team_members_team_idx": {
892
+ "name": "team_members_team_idx",
893
+ "columns": [
894
+ {
895
+ "expression": "team_id",
896
+ "isExpression": false,
897
+ "asc": true,
898
+ "nulls": "last"
899
+ }
900
+ ],
901
+ "isUnique": false,
902
+ "concurrently": false,
903
+ "method": "btree",
904
+ "with": {}
905
+ },
906
+ "team_members_user_idx": {
907
+ "name": "team_members_user_idx",
908
+ "columns": [
909
+ {
910
+ "expression": "user_id",
911
+ "isExpression": false,
912
+ "asc": true,
913
+ "nulls": "last"
914
+ }
915
+ ],
916
+ "isUnique": false,
917
+ "concurrently": false,
918
+ "method": "btree",
919
+ "with": {}
920
+ }
921
+ },
922
+ "foreignKeys": {},
923
+ "compositePrimaryKeys": {},
924
+ "uniqueConstraints": {},
925
+ "policies": {},
926
+ "checkConstraints": {},
927
+ "isRLSEnabled": false
928
+ },
929
+ "public.teams": {
930
+ "name": "teams",
931
+ "schema": "",
932
+ "columns": {
933
+ "id": {
934
+ "name": "id",
935
+ "type": "text",
936
+ "primaryKey": true,
937
+ "notNull": true
938
+ },
939
+ "name": {
940
+ "name": "name",
941
+ "type": "text",
942
+ "primaryKey": false,
943
+ "notNull": true
944
+ },
945
+ "owner_user_id": {
946
+ "name": "owner_user_id",
947
+ "type": "text",
948
+ "primaryKey": false,
949
+ "notNull": false
950
+ },
951
+ "created_at": {
952
+ "name": "created_at",
953
+ "type": "text",
954
+ "primaryKey": false,
955
+ "notNull": true
956
+ }
957
+ },
958
+ "indexes": {},
959
+ "foreignKeys": {},
960
+ "compositePrimaryKeys": {},
961
+ "uniqueConstraints": {},
962
+ "policies": {},
963
+ "checkConstraints": {},
964
+ "isRLSEnabled": false
965
+ },
966
+ "public.account": {
967
+ "name": "account",
968
+ "schema": "",
969
+ "columns": {
970
+ "id": {
971
+ "name": "id",
972
+ "type": "text",
973
+ "primaryKey": true,
974
+ "notNull": true
975
+ },
976
+ "account_id": {
977
+ "name": "account_id",
978
+ "type": "text",
979
+ "primaryKey": false,
980
+ "notNull": true
981
+ },
982
+ "provider_id": {
983
+ "name": "provider_id",
984
+ "type": "text",
985
+ "primaryKey": false,
986
+ "notNull": true
987
+ },
988
+ "user_id": {
989
+ "name": "user_id",
990
+ "type": "text",
991
+ "primaryKey": false,
992
+ "notNull": true
993
+ },
994
+ "access_token": {
995
+ "name": "access_token",
996
+ "type": "text",
997
+ "primaryKey": false,
998
+ "notNull": false
999
+ },
1000
+ "refresh_token": {
1001
+ "name": "refresh_token",
1002
+ "type": "text",
1003
+ "primaryKey": false,
1004
+ "notNull": false
1005
+ },
1006
+ "id_token": {
1007
+ "name": "id_token",
1008
+ "type": "text",
1009
+ "primaryKey": false,
1010
+ "notNull": false
1011
+ },
1012
+ "access_token_expires_at": {
1013
+ "name": "access_token_expires_at",
1014
+ "type": "timestamp",
1015
+ "primaryKey": false,
1016
+ "notNull": false
1017
+ },
1018
+ "refresh_token_expires_at": {
1019
+ "name": "refresh_token_expires_at",
1020
+ "type": "timestamp",
1021
+ "primaryKey": false,
1022
+ "notNull": false
1023
+ },
1024
+ "scope": {
1025
+ "name": "scope",
1026
+ "type": "text",
1027
+ "primaryKey": false,
1028
+ "notNull": false
1029
+ },
1030
+ "password": {
1031
+ "name": "password",
1032
+ "type": "text",
1033
+ "primaryKey": false,
1034
+ "notNull": false
1035
+ },
1036
+ "created_at": {
1037
+ "name": "created_at",
1038
+ "type": "timestamp",
1039
+ "primaryKey": false,
1040
+ "notNull": true,
1041
+ "default": "now()"
1042
+ },
1043
+ "updated_at": {
1044
+ "name": "updated_at",
1045
+ "type": "timestamp",
1046
+ "primaryKey": false,
1047
+ "notNull": true
1048
+ }
1049
+ },
1050
+ "indexes": {
1051
+ "account_userId_idx": {
1052
+ "name": "account_userId_idx",
1053
+ "columns": [
1054
+ {
1055
+ "expression": "user_id",
1056
+ "isExpression": false,
1057
+ "asc": true,
1058
+ "nulls": "last"
1059
+ }
1060
+ ],
1061
+ "isUnique": false,
1062
+ "concurrently": false,
1063
+ "method": "btree",
1064
+ "with": {}
1065
+ }
1066
+ },
1067
+ "foreignKeys": {
1068
+ "account_user_id_user_id_fk": {
1069
+ "name": "account_user_id_user_id_fk",
1070
+ "tableFrom": "account",
1071
+ "tableTo": "user",
1072
+ "columnsFrom": [
1073
+ "user_id"
1074
+ ],
1075
+ "columnsTo": [
1076
+ "id"
1077
+ ],
1078
+ "onDelete": "cascade",
1079
+ "onUpdate": "no action"
1080
+ }
1081
+ },
1082
+ "compositePrimaryKeys": {},
1083
+ "uniqueConstraints": {},
1084
+ "policies": {},
1085
+ "checkConstraints": {},
1086
+ "isRLSEnabled": false
1087
+ },
1088
+ "public.session": {
1089
+ "name": "session",
1090
+ "schema": "",
1091
+ "columns": {
1092
+ "id": {
1093
+ "name": "id",
1094
+ "type": "text",
1095
+ "primaryKey": true,
1096
+ "notNull": true
1097
+ },
1098
+ "expires_at": {
1099
+ "name": "expires_at",
1100
+ "type": "timestamp",
1101
+ "primaryKey": false,
1102
+ "notNull": true
1103
+ },
1104
+ "token": {
1105
+ "name": "token",
1106
+ "type": "text",
1107
+ "primaryKey": false,
1108
+ "notNull": true
1109
+ },
1110
+ "created_at": {
1111
+ "name": "created_at",
1112
+ "type": "timestamp",
1113
+ "primaryKey": false,
1114
+ "notNull": true,
1115
+ "default": "now()"
1116
+ },
1117
+ "updated_at": {
1118
+ "name": "updated_at",
1119
+ "type": "timestamp",
1120
+ "primaryKey": false,
1121
+ "notNull": true
1122
+ },
1123
+ "ip_address": {
1124
+ "name": "ip_address",
1125
+ "type": "text",
1126
+ "primaryKey": false,
1127
+ "notNull": false
1128
+ },
1129
+ "user_agent": {
1130
+ "name": "user_agent",
1131
+ "type": "text",
1132
+ "primaryKey": false,
1133
+ "notNull": false
1134
+ },
1135
+ "user_id": {
1136
+ "name": "user_id",
1137
+ "type": "text",
1138
+ "primaryKey": false,
1139
+ "notNull": true
1140
+ }
1141
+ },
1142
+ "indexes": {
1143
+ "session_userId_idx": {
1144
+ "name": "session_userId_idx",
1145
+ "columns": [
1146
+ {
1147
+ "expression": "user_id",
1148
+ "isExpression": false,
1149
+ "asc": true,
1150
+ "nulls": "last"
1151
+ }
1152
+ ],
1153
+ "isUnique": false,
1154
+ "concurrently": false,
1155
+ "method": "btree",
1156
+ "with": {}
1157
+ }
1158
+ },
1159
+ "foreignKeys": {
1160
+ "session_user_id_user_id_fk": {
1161
+ "name": "session_user_id_user_id_fk",
1162
+ "tableFrom": "session",
1163
+ "tableTo": "user",
1164
+ "columnsFrom": [
1165
+ "user_id"
1166
+ ],
1167
+ "columnsTo": [
1168
+ "id"
1169
+ ],
1170
+ "onDelete": "cascade",
1171
+ "onUpdate": "no action"
1172
+ }
1173
+ },
1174
+ "compositePrimaryKeys": {},
1175
+ "uniqueConstraints": {
1176
+ "session_token_unique": {
1177
+ "name": "session_token_unique",
1178
+ "nullsNotDistinct": false,
1179
+ "columns": [
1180
+ "token"
1181
+ ]
1182
+ }
1183
+ },
1184
+ "policies": {},
1185
+ "checkConstraints": {},
1186
+ "isRLSEnabled": false
1187
+ },
1188
+ "public.user": {
1189
+ "name": "user",
1190
+ "schema": "",
1191
+ "columns": {
1192
+ "id": {
1193
+ "name": "id",
1194
+ "type": "text",
1195
+ "primaryKey": true,
1196
+ "notNull": true
1197
+ },
1198
+ "name": {
1199
+ "name": "name",
1200
+ "type": "text",
1201
+ "primaryKey": false,
1202
+ "notNull": true
1203
+ },
1204
+ "email": {
1205
+ "name": "email",
1206
+ "type": "text",
1207
+ "primaryKey": false,
1208
+ "notNull": true
1209
+ },
1210
+ "email_verified": {
1211
+ "name": "email_verified",
1212
+ "type": "boolean",
1213
+ "primaryKey": false,
1214
+ "notNull": true,
1215
+ "default": false
1216
+ },
1217
+ "image": {
1218
+ "name": "image",
1219
+ "type": "text",
1220
+ "primaryKey": false,
1221
+ "notNull": false
1222
+ },
1223
+ "created_at": {
1224
+ "name": "created_at",
1225
+ "type": "timestamp",
1226
+ "primaryKey": false,
1227
+ "notNull": true,
1228
+ "default": "now()"
1229
+ },
1230
+ "updated_at": {
1231
+ "name": "updated_at",
1232
+ "type": "timestamp",
1233
+ "primaryKey": false,
1234
+ "notNull": true,
1235
+ "default": "now()"
1236
+ }
1237
+ },
1238
+ "indexes": {},
1239
+ "foreignKeys": {},
1240
+ "compositePrimaryKeys": {},
1241
+ "uniqueConstraints": {
1242
+ "user_email_unique": {
1243
+ "name": "user_email_unique",
1244
+ "nullsNotDistinct": false,
1245
+ "columns": [
1246
+ "email"
1247
+ ]
1248
+ }
1249
+ },
1250
+ "policies": {},
1251
+ "checkConstraints": {},
1252
+ "isRLSEnabled": false
1253
+ },
1254
+ "public.verification": {
1255
+ "name": "verification",
1256
+ "schema": "",
1257
+ "columns": {
1258
+ "id": {
1259
+ "name": "id",
1260
+ "type": "text",
1261
+ "primaryKey": true,
1262
+ "notNull": true
1263
+ },
1264
+ "identifier": {
1265
+ "name": "identifier",
1266
+ "type": "text",
1267
+ "primaryKey": false,
1268
+ "notNull": true
1269
+ },
1270
+ "value": {
1271
+ "name": "value",
1272
+ "type": "text",
1273
+ "primaryKey": false,
1274
+ "notNull": true
1275
+ },
1276
+ "expires_at": {
1277
+ "name": "expires_at",
1278
+ "type": "timestamp",
1279
+ "primaryKey": false,
1280
+ "notNull": true
1281
+ },
1282
+ "created_at": {
1283
+ "name": "created_at",
1284
+ "type": "timestamp",
1285
+ "primaryKey": false,
1286
+ "notNull": true,
1287
+ "default": "now()"
1288
+ },
1289
+ "updated_at": {
1290
+ "name": "updated_at",
1291
+ "type": "timestamp",
1292
+ "primaryKey": false,
1293
+ "notNull": true,
1294
+ "default": "now()"
1295
+ }
1296
+ },
1297
+ "indexes": {
1298
+ "verification_identifier_idx": {
1299
+ "name": "verification_identifier_idx",
1300
+ "columns": [
1301
+ {
1302
+ "expression": "identifier",
1303
+ "isExpression": false,
1304
+ "asc": true,
1305
+ "nulls": "last"
1306
+ }
1307
+ ],
1308
+ "isUnique": false,
1309
+ "concurrently": false,
1310
+ "method": "btree",
1311
+ "with": {}
1312
+ }
1313
+ },
1314
+ "foreignKeys": {},
1315
+ "compositePrimaryKeys": {},
1316
+ "uniqueConstraints": {},
1317
+ "policies": {},
1318
+ "checkConstraints": {},
1319
+ "isRLSEnabled": false
1320
+ }
1321
+ },
1322
+ "enums": {},
1323
+ "schemas": {},
1324
+ "sequences": {},
1325
+ "roles": {},
1326
+ "policies": {},
1327
+ "views": {},
1328
+ "_meta": {
1329
+ "columns": {},
1330
+ "schemas": {},
1331
+ "tables": {}
1332
+ }
1333
+ }