@kky42/pievo-server 2.3.0 → 2.4.2

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 (199) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/MachinesModal-CSbnrUER.js +1 -0
  3. package/.output/public/assets/SignIn-0Tjqs-Ma.js +1 -0
  4. package/.output/public/assets/actionUi-DpwGIGpw.js +1 -0
  5. package/.output/public/assets/app-CaZpuwOS.css +2 -0
  6. package/.output/public/assets/index-CaS_SmDq.js +10 -0
  7. package/.output/public/assets/invite._token-Btg_0aLp.js +1 -0
  8. package/.output/public/assets/invite._token-KMD2JAgE.js +1 -0
  9. package/.output/public/assets/lifecycleUi-C7dwHtbw.js +1 -0
  10. package/.output/public/assets/loops._loopId-D5usF3DO.js +67 -0
  11. package/.output/public/assets/loops._loopId_.runs._runId-DRCgXaCq.js +3 -0
  12. package/.output/public/assets/preload-helper-DsxECZIS.js +5 -0
  13. package/.output/public/assets/routes-CtFgwdgW.js +1 -0
  14. package/.output/public/assets/routes-LDbnnQ3f.js +1 -0
  15. package/.output/public/assets/t._teamId-D41xcbsF.js +1 -0
  16. package/.output/public/assets/t._teamId-DUena1pV.js +1 -0
  17. package/.output/public/assets/ui-Do4gqMyP.js +1 -0
  18. package/.output/server/_libs/@base-ui/react+[...].mjs +4130 -4130
  19. package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
  20. package/.output/server/_libs/drizzle-orm+postgres.mjs +28 -1
  21. package/.output/server/_ssr/DashboardView-C2LdV6J0.mjs +914 -0
  22. package/.output/server/_ssr/{notifyFns-DuPR1zd7.mjs → MachinesModal-BjkcVjjx.mjs} +55 -35
  23. package/.output/server/_ssr/{SignIn-RmpWm9uy.mjs → SignIn-DEGrvJvb.mjs} +10 -24
  24. package/.output/server/_ssr/SocialLinks-Cm4H8pUJ.mjs +1044 -0
  25. package/.output/server/_ssr/{actionUi-BN55TNYE.mjs → actionUi-DJBWuNwr.mjs} +3 -3
  26. package/.output/server/_ssr/{artifactFiles-BCaIIrrT.mjs → artifactFiles-DtpRidFZ.mjs} +7 -8
  27. package/.output/server/_ssr/{artifactKind-BW0isV8L.mjs → artifactKind-FBYbgSuf.mjs} +27 -2
  28. package/.output/server/_ssr/artifacts-BR3jj0NC.mjs +2 -0
  29. package/.output/server/_ssr/{auth-30Z4lV1w.mjs → auth-C0zoZCGe.mjs} +16 -19
  30. package/.output/server/_ssr/boot-CdOO4xOo.mjs +2 -0
  31. package/.output/server/_ssr/{boot-3BNKujyp.mjs → boot-sNlIkoLe.mjs} +1331 -3927
  32. package/.output/server/_ssr/{bun-sqlite-dialect-BW9W1_Ps-_7tfuNRi.mjs → bun-sqlite-dialect-BW9W1_Ps-DmlZWqO7.mjs} +2 -2
  33. package/.output/server/_ssr/{d1-sqlite-dialect-BLC8LXE6-ucDUbeBk.mjs → d1-sqlite-dialect-BLC8LXE6-CCNzqZwZ.mjs} +2 -2
  34. package/.output/server/_ssr/db-CwLD-5w1.mjs +2 -0
  35. package/.output/server/_ssr/{dist-Cd6nlLlO.mjs → dist-B3SxDOpW.mjs} +2 -2
  36. package/.output/server/_ssr/{factory-CWWwV7XZ.mjs → factory-Dv3Zopis.mjs} +2 -2
  37. package/.output/server/_ssr/invite._token-CJ6-H-s3.mjs +20 -0
  38. package/.output/server/_ssr/{invite._token-SdWXemIc.mjs → invite._token-dLKDJKVs.mjs} +9 -17
  39. package/.output/server/_ssr/{invite._token-BKlz0R2f.mjs → invite._token-l1SjouDz.mjs} +6 -15
  40. package/.output/server/_ssr/{kysely-adapter-C8iS51DB.mjs → kysely-adapter-nL7WKSgw.mjs} +1 -1
  41. package/.output/server/_ssr/{lifecycleUi-DgBQAYzp.mjs → lifecycleUi-Dad3hvhm.mjs} +11 -11
  42. package/.output/server/_ssr/logger-B8m8F1Qu.mjs +2 -0
  43. package/.output/server/_ssr/loopApi-BKyFB4KM.mjs +342 -0
  44. package/.output/server/_ssr/{adapters-BoLkOf1T.mjs → loopProjection-B8a829ij.mjs} +25 -55
  45. package/.output/server/_ssr/loops._loopId-DS16Phmq.mjs +1271 -0
  46. package/.output/server/_ssr/{loops._loopId_.runs._runId-PUGBrD5q.mjs → loops._loopId_.runs._runId-BEJI6iK5.mjs} +23 -74
  47. package/.output/server/_ssr/{loops._loopId_.runs._runId-Ymy4lwee.mjs → loops._loopId_.runs._runId-CduETLqH.mjs} +4 -5
  48. package/.output/server/_ssr/{machineFns-BZ9puxDt.mjs → machineFns-ByMsgG12.mjs} +3 -5
  49. package/.output/server/_ssr/{node-sqlite-dialect-D_3JmkMo.mjs → node-sqlite-dialect-CjNineno.mjs} +2 -2
  50. package/.output/server/_ssr/router-CXyrnvx-.mjs +565 -0
  51. package/.output/server/_ssr/{routes-ClZEdsnB.mjs → routes-BulNEUEE.mjs} +6 -10
  52. package/.output/server/_ssr/{routes-ComqHvCL.mjs → routes-DD94baie.mjs} +3 -3
  53. package/.output/server/_ssr/{routes-D5jJJ-30.mjs → routes-Wjexi35W.mjs} +6 -6
  54. package/.output/server/_ssr/runDiff-Ba8Lg1vg.mjs +2 -0
  55. package/.output/server/_ssr/ssr.mjs +60 -100
  56. package/.output/server/_ssr/store-Cujtg2QE.mjs +2 -0
  57. package/.output/server/_ssr/{t._teamId-BgHV_KFP.mjs → t._teamId-1CreIlPV.mjs} +7 -11
  58. package/.output/server/_ssr/{t._teamId-DDERNgfn.mjs → t._teamId-Bd6-zZsy.mjs} +4 -4
  59. package/.output/server/_ssr/{t._teamId-DRJvKHZn.mjs → t._teamId-COuMKQ4r.mjs} +7 -7
  60. package/.output/server/_ssr/{teamFns-Bp81UO-x.mjs → teamFns-H438WnZC.mjs} +12 -30
  61. package/.output/server/_ssr/{teamFns-bm82twd5.mjs → teamFns-j2JKjorZ.mjs} +2 -2
  62. package/.output/server/_ssr/tokens-DgG_Syq3.mjs +2 -0
  63. package/.output/server/_ssr/{ui-Ww2tTM2u.mjs → ui-D5KWstlb.mjs} +26 -48
  64. package/.output/server/{_tanstack-start-manifest_v-DwKENYCN.mjs → _tanstack-start-manifest_v-3H7yBKLz.mjs} +25 -35
  65. package/{drizzle/0000_round_marauders.sql → .output/server/drizzle/0000_baseline.sql} +102 -44
  66. package/.output/server/drizzle/meta/_journal.json +3 -115
  67. package/.output/server/index.mjs +83 -132
  68. package/{.output/server/drizzle/0000_round_marauders.sql → drizzle/0000_baseline.sql} +102 -44
  69. package/drizzle/meta/_journal.json +3 -115
  70. package/package.json +2 -11
  71. package/scripts/pievo-server.mjs +3 -1
  72. package/scripts/server-cli-lib.mjs +23 -16
  73. package/.output/public/assets/CodeField-dOzyFQNH.js +0 -34
  74. package/.output/public/assets/LoopView-DjVHUyrR.js +0 -59
  75. package/.output/public/assets/Modal-CCRvx959.js +0 -1
  76. package/.output/public/assets/SignIn-Qxw5zDFq.js +0 -1
  77. package/.output/public/assets/actionUi-CXxhzYe2.js +0 -1
  78. package/.output/public/assets/app-D1cij_NJ.css +0 -2
  79. package/.output/public/assets/artifactView-Cd5wWPil.js +0 -66
  80. package/.output/public/assets/index-BRN_CQ8U.js +0 -12
  81. package/.output/public/assets/invite._token-BIxr8DlP.js +0 -1
  82. package/.output/public/assets/invite._token-j2BTCeG1.js +0 -1
  83. package/.output/public/assets/jsx-runtime-BseJUIpC.js +0 -1
  84. package/.output/public/assets/lifecycleUi-Qy_8beQK.js +0 -1
  85. package/.output/public/assets/loopApi-CT1mMhlb.js +0 -3
  86. package/.output/public/assets/loops._loopId-BRBQzioy.js +0 -4
  87. package/.output/public/assets/loops._loopId_.runs._runId-CMnOJkem.js +0 -3
  88. package/.output/public/assets/notifyFns-DYD4EKaG.js +0 -1
  89. package/.output/public/assets/preload-helper-DFkkpP6W.js +0 -3
  90. package/.output/public/assets/routes-3nuEJGdo.js +0 -1
  91. package/.output/public/assets/routes-DORLim-C.js +0 -1
  92. package/.output/public/assets/t._teamId-F5f4K8kd.js +0 -1
  93. package/.output/public/assets/t._teamId-XfE_S1Fo.js +0 -1
  94. package/.output/public/assets/ui-Dhsx6SW0.js +0 -1
  95. package/.output/public/assets/useRouter-DsjH8G0p.js +0 -1
  96. package/.output/server/_libs/@codemirror/autocomplete+[...].mjs +0 -19713
  97. package/.output/server/_libs/@codemirror/lang-css+[...].mjs +0 -2636
  98. package/.output/server/_libs/@codemirror/lang-html+[...].mjs +0 -2247
  99. package/.output/server/_libs/@codemirror/lang-json+[...].mjs +0 -79
  100. package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +0 -1736
  101. package/.output/server/_libs/@uiw/codemirror-extensions-basic-setup+[...].mjs +0 -76
  102. package/.output/server/_libs/babel__runtime.mjs +0 -30
  103. package/.output/server/_libs/clsx.mjs +0 -16
  104. package/.output/server/_libs/codemirror__commands.mjs +0 -1725
  105. package/.output/server/_libs/codemirror__lint.mjs +0 -565
  106. package/.output/server/_libs/codemirror__search.mjs +0 -1138
  107. package/.output/server/_libs/codemirror__theme-one-dark.mjs +0 -161
  108. package/.output/server/_libs/d3-array.mjs +0 -231
  109. package/.output/server/_libs/d3-color.mjs +0 -330
  110. package/.output/server/_libs/d3-format.mjs +0 -252
  111. package/.output/server/_libs/d3-interpolate.mjs +0 -163
  112. package/.output/server/_libs/d3-path.mjs +0 -77
  113. package/.output/server/_libs/d3-scale+[...].mjs +0 -1907
  114. package/.output/server/_libs/d3-shape.mjs +0 -818
  115. package/.output/server/_libs/decimal.js-light.mjs +0 -884
  116. package/.output/server/_libs/dom-serializer+[...].mjs +0 -708
  117. package/.output/server/_libs/domhandler.mjs +0 -461
  118. package/.output/server/_libs/domutils.mjs +0 -868
  119. package/.output/server/_libs/es-toolkit.mjs +0 -1737
  120. package/.output/server/_libs/eventemitter3.mjs +0 -236
  121. package/.output/server/_libs/html-dom-parser+htmlparser2.mjs +0 -1560
  122. package/.output/server/_libs/html-react-parser+[...].mjs +0 -1360
  123. package/.output/server/_libs/react-is.mjs +0 -48
  124. package/.output/server/_libs/react-redux+[...].mjs +0 -205
  125. package/.output/server/_libs/recharts+victory-vendor.mjs +0 -17303
  126. package/.output/server/_libs/uiw__codemirror-themes.mjs +0 -32
  127. package/.output/server/_libs/uiw__react-codemirror.mjs +0 -354
  128. package/.output/server/_ssr/CodeField-B7oOmmwH.mjs +0 -143
  129. package/.output/server/_ssr/DashboardView-BF7PciP7.mjs +0 -2736
  130. package/.output/server/_ssr/LoopPlaybook-DC7QVvPY.mjs +0 -2105
  131. package/.output/server/_ssr/LoopView-DwSrm9Ja.mjs +0 -1300
  132. package/.output/server/_ssr/Modal-MaCG52Pv.mjs +0 -49
  133. package/.output/server/_ssr/artifactView-iuPsp5aa.mjs +0 -304
  134. package/.output/server/_ssr/artifacts-jQ-bfdhI.mjs +0 -2
  135. package/.output/server/_ssr/boot-CsEFT53K.mjs +0 -2
  136. package/.output/server/_ssr/db-CXownd1H.mjs +0 -2
  137. package/.output/server/_ssr/invite._token-CWl6kipD.mjs +0 -28
  138. package/.output/server/_ssr/logger-Gy-47z3k.mjs +0 -2
  139. package/.output/server/_ssr/loopApi-8_KgBapr.mjs +0 -109
  140. package/.output/server/_ssr/loopApi-ABi9SgWS.mjs +0 -564
  141. package/.output/server/_ssr/loops._loopId-SON_t43g.mjs +0 -30
  142. package/.output/server/_ssr/loops._loopId-p1KWsvMM.mjs +0 -1477
  143. package/.output/server/_ssr/notifyFns-BUCePuF3.mjs +0 -118
  144. package/.output/server/_ssr/router-Czxvra6l.mjs +0 -685
  145. package/.output/server/_ssr/runDiff--qLtU4FI.mjs +0 -2
  146. package/.output/server/_ssr/store-40eVzW1S.mjs +0 -2
  147. package/.output/server/_ssr/tokens-CbfoRC_s.mjs +0 -2
  148. package/.output/server/drizzle/0001_naive_silver_fox.sql +0 -25
  149. package/.output/server/drizzle/0002_funny_sage.sql +0 -12
  150. package/.output/server/drizzle/0003_optimal_slapstick.sql +0 -102
  151. package/.output/server/drizzle/0004_remove_grok_agent.sql +0 -5
  152. package/.output/server/drizzle/0005_heavy_gauntlet.sql +0 -8
  153. package/.output/server/drizzle/0006_tranquil_sharon_carter.sql +0 -1
  154. package/.output/server/drizzle/0007_faulty_starbolt.sql +0 -30
  155. package/.output/server/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
  156. package/.output/server/drizzle/0009_ordinary_electro.sql +0 -1
  157. package/.output/server/drizzle/0010_workable_rage.sql +0 -14
  158. package/.output/server/drizzle/0011_steep_marvel_zombies.sql +0 -3
  159. package/.output/server/drizzle/0012_blocked_run_status.sql +0 -12
  160. package/.output/server/drizzle/0013_drop_run_outcome.sql +0 -2
  161. package/.output/server/drizzle/0014_luxuriant_scrambler.sql +0 -5
  162. package/.output/server/drizzle/0015_run_history_foundation.sql +0 -43
  163. package/.output/server/drizzle/0016_plural_machine_runs.sql +0 -4
  164. package/.output/server/drizzle/meta/0000_snapshot.json +0 -1333
  165. package/.output/server/drizzle/meta/0001_snapshot.json +0 -1498
  166. package/.output/server/drizzle/meta/0002_snapshot.json +0 -1576
  167. package/.output/server/drizzle/meta/0003_snapshot.json +0 -1666
  168. package/.output/server/drizzle/meta/0005_snapshot.json +0 -1666
  169. package/.output/server/drizzle/meta/0006_snapshot.json +0 -1672
  170. package/.output/server/drizzle/meta/0007_snapshot.json +0 -1787
  171. package/.output/server/drizzle/meta/0009_snapshot.json +0 -1793
  172. package/.output/server/drizzle/meta/0010_snapshot.json +0 -1891
  173. package/.output/server/drizzle/meta/0011_snapshot.json +0 -1872
  174. package/drizzle/0001_naive_silver_fox.sql +0 -25
  175. package/drizzle/0002_funny_sage.sql +0 -12
  176. package/drizzle/0003_optimal_slapstick.sql +0 -102
  177. package/drizzle/0004_remove_grok_agent.sql +0 -5
  178. package/drizzle/0005_heavy_gauntlet.sql +0 -8
  179. package/drizzle/0006_tranquil_sharon_carter.sql +0 -1
  180. package/drizzle/0007_faulty_starbolt.sql +0 -30
  181. package/drizzle/0008_durable_lifecycle_evidence.sql +0 -15
  182. package/drizzle/0009_ordinary_electro.sql +0 -1
  183. package/drizzle/0010_workable_rage.sql +0 -14
  184. package/drizzle/0011_steep_marvel_zombies.sql +0 -3
  185. package/drizzle/0012_blocked_run_status.sql +0 -12
  186. package/drizzle/0013_drop_run_outcome.sql +0 -2
  187. package/drizzle/0014_luxuriant_scrambler.sql +0 -5
  188. package/drizzle/0015_run_history_foundation.sql +0 -43
  189. package/drizzle/0016_plural_machine_runs.sql +0 -4
  190. package/drizzle/meta/0000_snapshot.json +0 -1333
  191. package/drizzle/meta/0001_snapshot.json +0 -1498
  192. package/drizzle/meta/0002_snapshot.json +0 -1576
  193. package/drizzle/meta/0003_snapshot.json +0 -1666
  194. package/drizzle/meta/0005_snapshot.json +0 -1666
  195. package/drizzle/meta/0006_snapshot.json +0 -1672
  196. package/drizzle/meta/0007_snapshot.json +0 -1787
  197. package/drizzle/meta/0009_snapshot.json +0 -1793
  198. package/drizzle/meta/0010_snapshot.json +0 -1891
  199. package/drizzle/meta/0011_snapshot.json +0 -1872
@@ -1,1333 +0,0 @@
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
- }