@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.
- package/.output/nitro.json +17 -0
- package/.output/public/assets/CodeField-dOzyFQNH.js +34 -0
- package/.output/public/assets/LoopView-B4H9QibC.js +55 -0
- package/.output/public/assets/Modal-D33gNSgx.js +1 -0
- package/.output/public/assets/SignIn-SHuRRyOv.js +1 -0
- package/.output/public/assets/actionUi-ChGGALzg.js +1 -0
- package/.output/public/assets/app-DElSo_jy.css +2 -0
- package/.output/public/assets/artifactView-DFuubXLJ.js +66 -0
- package/.output/public/assets/index-DfpTWRSz.js +12 -0
- package/.output/public/assets/invite._token-DJtd-XE2.js +1 -0
- package/.output/public/assets/invite._token-T8oo4Qtw.js +1 -0
- package/.output/public/assets/jsx-runtime-BseJUIpC.js +1 -0
- package/.output/public/assets/lifecycleUi-DKkChdnU.js +1 -0
- package/.output/public/assets/loopApi-BM2nj71x.js +3 -0
- package/.output/public/assets/loops._loopId-B19Jw7jC.js +5 -0
- package/.output/public/assets/loops._loopId_.runs._runId-_CflHV38.js +3 -0
- package/.output/public/assets/notifyFns-DCubjpRy.js +1 -0
- package/.output/public/assets/preload-helper-CKUiEq3b.js +3 -0
- package/.output/public/assets/routes-B9tgli5f.js +1 -0
- package/.output/public/assets/routes-CTtlM_qt.js +1 -0
- package/.output/public/assets/t._teamId-Bm21mngW.js +1 -0
- package/.output/public/assets/t._teamId-gR7BVKkR.js +1 -0
- package/.output/public/assets/ui-Dp88qUWh.js +1 -0
- package/.output/public/assets/useRouter-DsjH8G0p.js +1 -0
- package/.output/public/favicon.svg +12 -0
- package/.output/public/fonts/GeistPixel-Square.woff2 +0 -0
- package/.output/server/_chunks/ssr-renderer.mjs +26 -0
- package/.output/server/_libs/@aws-crypto/crc32+[...].mjs +419 -0
- package/.output/server/_libs/@aws-sdk/checksums+[...].mjs +10732 -0
- package/.output/server/_libs/@aws-sdk/client-s3+[...].mjs +9475 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-http+[...].mjs +137 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-ini+[...].mjs +440 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-process+[...].mjs +62 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-sso+[...].mjs +818 -0
- package/.output/server/_libs/@aws-sdk/credential-provider-web-identity+[...].mjs +59 -0
- package/.output/server/_libs/@base-ui/react+[...].mjs +11125 -0
- package/.output/server/_libs/@codemirror/autocomplete+[...].mjs +19713 -0
- package/.output/server/_libs/@codemirror/lang-css+[...].mjs +2636 -0
- package/.output/server/_libs/@codemirror/lang-html+[...].mjs +2247 -0
- package/.output/server/_libs/@codemirror/lang-json+[...].mjs +79 -0
- package/.output/server/_libs/@reduxjs/toolkit+[...].mjs +1736 -0
- package/.output/server/_libs/@smithy/credential-provider-imds+[...].mjs +342 -0
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +14300 -0
- package/.output/server/_libs/@uiw/codemirror-extensions-basic-setup+[...].mjs +76 -0
- package/.output/server/_libs/atomic-sleep.mjs +27 -0
- package/.output/server/_libs/aws-crypto__crc32c.mjs +314 -0
- package/.output/server/_libs/aws-sdk__nested-clients.mjs +2671 -0
- package/.output/server/_libs/babel__runtime.mjs +30 -0
- package/.output/server/_libs/clsx.mjs +16 -0
- package/.output/server/_libs/codemirror__commands.mjs +1725 -0
- package/.output/server/_libs/codemirror__lint.mjs +565 -0
- package/.output/server/_libs/codemirror__search.mjs +1138 -0
- package/.output/server/_libs/codemirror__theme-one-dark.mjs +161 -0
- package/.output/server/_libs/colorette.mjs +129 -0
- package/.output/server/_libs/croner.mjs +735 -0
- package/.output/server/_libs/d3-array.mjs +231 -0
- package/.output/server/_libs/d3-color.mjs +330 -0
- package/.output/server/_libs/d3-format.mjs +252 -0
- package/.output/server/_libs/d3-interpolate.mjs +163 -0
- package/.output/server/_libs/d3-path.mjs +77 -0
- package/.output/server/_libs/d3-scale+[...].mjs +1907 -0
- package/.output/server/_libs/d3-shape.mjs +689 -0
- package/.output/server/_libs/dateformat.mjs +341 -0
- package/.output/server/_libs/decimal.js-light.mjs +884 -0
- package/.output/server/_libs/diff.mjs +732 -0
- package/.output/server/_libs/dom-serializer+[...].mjs +708 -0
- package/.output/server/_libs/domhandler.mjs +461 -0
- package/.output/server/_libs/dompurify.mjs +2111 -0
- package/.output/server/_libs/domutils.mjs +868 -0
- package/.output/server/_libs/drizzle-orm+postgres.mjs +7689 -0
- package/.output/server/_libs/electric-sql__pglite.mjs +14674 -0
- package/.output/server/_libs/end-of-stream+once+wrappy.mjs +145 -0
- package/.output/server/_libs/es-toolkit.mjs +1737 -0
- package/.output/server/_libs/eventemitter3.mjs +236 -0
- package/.output/server/_libs/fast-copy.mjs +285 -0
- package/.output/server/_libs/fast-safe-stringify.mjs +172 -0
- package/.output/server/_libs/h3+rou3+srvx.mjs +1201 -0
- package/.output/server/_libs/html-dom-parser+htmlparser2.mjs +1560 -0
- package/.output/server/_libs/html-react-parser+[...].mjs +1360 -0
- package/.output/server/_libs/initdb.wasm +0 -0
- package/.output/server/_libs/marked.mjs +1548 -0
- package/.output/server/_libs/on-exit-leak-free.mjs +80 -0
- package/.output/server/_libs/pglite.data +37667 -8
- package/.output/server/_libs/pglite.wasm +0 -0
- package/.output/server/_libs/pino+[...].mjs +3196 -0
- package/.output/server/_libs/pino-abstract-transport+split2.mjs +194 -0
- package/.output/server/_libs/pino-pretty+[...].mjs +1623 -0
- package/.output/server/_libs/pinojs__redact.mjs +280 -0
- package/.output/server/_libs/react-redux+[...].mjs +205 -0
- package/.output/server/_libs/recharts+victory-vendor.mjs +15875 -0
- package/.output/server/_libs/tanstack__history.mjs +342 -0
- package/.output/server/_libs/ufo.mjs +64 -0
- package/.output/server/_libs/uiw__codemirror-themes.mjs +32 -0
- package/.output/server/_libs/uiw__react-codemirror.mjs +354 -0
- package/.output/server/_runtime.mjs +37 -0
- package/.output/server/_ssr/CodeField-tm4rr6G3.mjs +143 -0
- package/.output/server/_ssr/DashboardView-CC7htv28.mjs +2795 -0
- package/.output/server/_ssr/LoopPlaybook-BXH8mhiX.mjs +2105 -0
- package/.output/server/_ssr/LoopView-DCugEbHx.mjs +1106 -0
- package/.output/server/_ssr/Modal-DpKZHLZK.mjs +49 -0
- package/.output/server/_ssr/SignIn-dTndU6Hw.mjs +67 -0
- package/.output/server/_ssr/actionUi-CZbEixbf.mjs +119 -0
- package/.output/server/_ssr/adapters-BS8XosjF.mjs +130 -0
- package/.output/server/_ssr/artifactFiles-Cagtj7J0.mjs +61 -0
- package/.output/server/_ssr/artifactKind-BW0isV8L.mjs +37 -0
- package/.output/server/_ssr/artifactView-DS4O22wl.mjs +304 -0
- package/.output/server/_ssr/artifacts-DngKyW2u.mjs +2 -0
- package/.output/server/_ssr/auth-DY1DuYZd.mjs +38429 -0
- package/.output/server/_ssr/boot-BbtG0ImW.mjs +9010 -0
- package/.output/server/_ssr/boot-CMHTxQpJ.mjs +2 -0
- package/.output/server/_ssr/bun-sqlite-dialect-BW9W1_Ps-CU1Spd6z.mjs +162 -0
- package/.output/server/_ssr/core-RrmWoKne.mjs +5 -0
- package/.output/server/_ssr/createServerRpc-BD8Xn_0_.mjs +12 -0
- package/.output/server/_ssr/d1-sqlite-dialect-BLC8LXE6-DfG7tB8s.mjs +112 -0
- package/.output/server/_ssr/db-DWAuZq1o.mjs +2 -0
- package/.output/server/_ssr/dist-BIxFFVZg.mjs +342 -0
- package/.output/server/_ssr/empty-plugin-adapters-DKUlnwwl.mjs +5 -0
- package/.output/server/_ssr/factory-Blq0DYfT.mjs +6903 -0
- package/.output/server/_ssr/invite._token-BRCo9LGB.mjs +36 -0
- package/.output/server/_ssr/invite._token-DJxGLILJ.mjs +28 -0
- package/.output/server/_ssr/invite._token-NewFt27g.mjs +92 -0
- package/.output/server/_ssr/kysely-adapter-D3XTe64J.mjs +2 -0
- package/.output/server/_ssr/kysely-migration-tables-JkVUjPF_-bPAX9LR_.mjs +19 -0
- package/.output/server/_ssr/lifecycleUi-C9lg1r3r.mjs +38 -0
- package/.output/server/_ssr/logger-Dw82jNjH.mjs +2 -0
- package/.output/server/_ssr/loopApi-BtfkZQYK.mjs +532 -0
- package/.output/server/_ssr/loopApi-Cxe8WyOB.mjs +105 -0
- package/.output/server/_ssr/loops._loopId-7NQJPB9W.mjs +30 -0
- package/.output/server/_ssr/loops._loopId-DhnArGdL.mjs +1635 -0
- package/.output/server/_ssr/loops._loopId_.runs._runId-Bvuo2nki.mjs +29 -0
- package/.output/server/_ssr/loops._loopId_.runs._runId-Dip5Xk-q.mjs +674 -0
- package/.output/server/_ssr/machineFns-Dvr5ICUy.mjs +266 -0
- package/.output/server/_ssr/node-sqlite-dialect-DhyOpJTX.mjs +162 -0
- package/.output/server/_ssr/notifyFns-BcMRY5kP.mjs +118 -0
- package/.output/server/_ssr/notifyFns-Q458pZmE.mjs +580 -0
- package/.output/server/_ssr/router-J8KZ30xw.mjs +678 -0
- package/.output/server/_ssr/routes-Bcs4T1ox.mjs +28 -0
- package/.output/server/_ssr/routes-BoGrcf-b.mjs +43 -0
- package/.output/server/_ssr/routes-D4am3Zff.mjs +28 -0
- package/.output/server/_ssr/runDiff-CpEFqo7G.mjs +113 -0
- package/.output/server/_ssr/ssr.mjs +5837 -0
- package/.output/server/_ssr/start-4ifArtKx.mjs +4 -0
- package/.output/server/_ssr/store-b3JcQ08F.mjs +2 -0
- package/.output/server/_ssr/t._teamId-CeUhzgzT.mjs +32 -0
- package/.output/server/_ssr/t._teamId-DR-hQK7o.mjs +47 -0
- package/.output/server/_ssr/t._teamId-Dy_McbRt.mjs +31 -0
- package/.output/server/_ssr/teamCookie-B7hLOIie.mjs +10 -0
- package/.output/server/_ssr/teamFns-BIDnsg2A.mjs +473 -0
- package/.output/server/_ssr/teamFns-DA4ovI5g.mjs +33 -0
- package/.output/server/_ssr/tokens-ytd60FUt.mjs +2 -0
- package/.output/server/_ssr/ui-Dej2qjuS.mjs +267 -0
- package/.output/server/_tanstack-start-manifest_v-CVS6c7re.mjs +95 -0
- package/.output/server/drizzle/0000_round_marauders.sql +193 -0
- package/.output/server/drizzle/0001_naive_silver_fox.sql +25 -0
- package/.output/server/drizzle/0002_funny_sage.sql +12 -0
- package/.output/server/drizzle/0003_optimal_slapstick.sql +102 -0
- package/.output/server/drizzle/0004_remove_grok_agent.sql +5 -0
- package/.output/server/drizzle/0005_heavy_gauntlet.sql +8 -0
- package/.output/server/drizzle/0006_tranquil_sharon_carter.sql +1 -0
- package/.output/server/drizzle/0007_faulty_starbolt.sql +30 -0
- package/.output/server/drizzle/0008_durable_lifecycle_evidence.sql +15 -0
- package/.output/server/drizzle/meta/0000_snapshot.json +1333 -0
- package/.output/server/drizzle/meta/0001_snapshot.json +1498 -0
- package/.output/server/drizzle/meta/0002_snapshot.json +1576 -0
- package/.output/server/drizzle/meta/0003_snapshot.json +1666 -0
- package/.output/server/drizzle/meta/0005_snapshot.json +1666 -0
- package/.output/server/drizzle/meta/0006_snapshot.json +1672 -0
- package/.output/server/drizzle/meta/0007_snapshot.json +1787 -0
- package/.output/server/drizzle/meta/_journal.json +69 -0
- package/.output/server/index.mjs +464 -0
- package/.output/server/node_modules/tslib/modules/index.js +70 -0
- package/.output/server/node_modules/tslib/modules/package.json +3 -0
- package/.output/server/node_modules/tslib/package.json +47 -0
- package/.output/server/node_modules/tslib/tslib.js +484 -0
- package/.output/server/package.json +9 -0
- package/LICENSE +21 -0
- package/drizzle/0000_round_marauders.sql +193 -0
- package/drizzle/0001_naive_silver_fox.sql +25 -0
- package/drizzle/0002_funny_sage.sql +12 -0
- package/drizzle/0003_optimal_slapstick.sql +102 -0
- package/drizzle/0004_remove_grok_agent.sql +5 -0
- package/drizzle/0005_heavy_gauntlet.sql +8 -0
- package/drizzle/0006_tranquil_sharon_carter.sql +1 -0
- package/drizzle/0007_faulty_starbolt.sql +30 -0
- package/drizzle/0008_durable_lifecycle_evidence.sql +15 -0
- package/drizzle/meta/0000_snapshot.json +1333 -0
- package/drizzle/meta/0001_snapshot.json +1498 -0
- package/drizzle/meta/0002_snapshot.json +1576 -0
- package/drizzle/meta/0003_snapshot.json +1666 -0
- package/drizzle/meta/0005_snapshot.json +1666 -0
- package/drizzle/meta/0006_snapshot.json +1672 -0
- package/drizzle/meta/0007_snapshot.json +1787 -0
- package/drizzle/meta/_journal.json +69 -0
- package/package.json +84 -0
- package/scripts/pievo-server.mjs +390 -0
- package/scripts/prestart.mjs +66 -0
- package/scripts/server-cli-lib.mjs +451 -0
|
@@ -0,0 +1,1787 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "fd6277cf-d3e2-4507-bb4e-28c4b3d1f18b",
|
|
3
|
+
"prevId": "a3df82d9-abfc-4f8c-bcb8-993f6808c59d",
|
|
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.connect_keys": {
|
|
180
|
+
"name": "connect_keys",
|
|
181
|
+
"schema": "",
|
|
182
|
+
"columns": {
|
|
183
|
+
"machine_id": {
|
|
184
|
+
"name": "machine_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
|
+
"minted_at": {
|
|
202
|
+
"name": "minted_at",
|
|
203
|
+
"type": "text",
|
|
204
|
+
"primaryKey": false,
|
|
205
|
+
"notNull": true
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"indexes": {},
|
|
209
|
+
"foreignKeys": {},
|
|
210
|
+
"compositePrimaryKeys": {},
|
|
211
|
+
"uniqueConstraints": {},
|
|
212
|
+
"policies": {},
|
|
213
|
+
"checkConstraints": {},
|
|
214
|
+
"isRLSEnabled": false
|
|
215
|
+
},
|
|
216
|
+
"public.loops": {
|
|
217
|
+
"name": "loops",
|
|
218
|
+
"schema": "",
|
|
219
|
+
"columns": {
|
|
220
|
+
"id": {
|
|
221
|
+
"name": "id",
|
|
222
|
+
"type": "text",
|
|
223
|
+
"primaryKey": true,
|
|
224
|
+
"notNull": true
|
|
225
|
+
},
|
|
226
|
+
"user_id": {
|
|
227
|
+
"name": "user_id",
|
|
228
|
+
"type": "text",
|
|
229
|
+
"primaryKey": false,
|
|
230
|
+
"notNull": true
|
|
231
|
+
},
|
|
232
|
+
"team_id": {
|
|
233
|
+
"name": "team_id",
|
|
234
|
+
"type": "text",
|
|
235
|
+
"primaryKey": false,
|
|
236
|
+
"notNull": false
|
|
237
|
+
},
|
|
238
|
+
"channel_id": {
|
|
239
|
+
"name": "channel_id",
|
|
240
|
+
"type": "text",
|
|
241
|
+
"primaryKey": false,
|
|
242
|
+
"notNull": false
|
|
243
|
+
},
|
|
244
|
+
"machine_id": {
|
|
245
|
+
"name": "machine_id",
|
|
246
|
+
"type": "text",
|
|
247
|
+
"primaryKey": false,
|
|
248
|
+
"notNull": true
|
|
249
|
+
},
|
|
250
|
+
"name": {
|
|
251
|
+
"name": "name",
|
|
252
|
+
"type": "text",
|
|
253
|
+
"primaryKey": false,
|
|
254
|
+
"notNull": false
|
|
255
|
+
},
|
|
256
|
+
"cron": {
|
|
257
|
+
"name": "cron",
|
|
258
|
+
"type": "text",
|
|
259
|
+
"primaryKey": false,
|
|
260
|
+
"notNull": true
|
|
261
|
+
},
|
|
262
|
+
"schedule_mode": {
|
|
263
|
+
"name": "schedule_mode",
|
|
264
|
+
"type": "text",
|
|
265
|
+
"primaryKey": false,
|
|
266
|
+
"notNull": true,
|
|
267
|
+
"default": "'cron'"
|
|
268
|
+
},
|
|
269
|
+
"continuous_delay_minutes": {
|
|
270
|
+
"name": "continuous_delay_minutes",
|
|
271
|
+
"type": "integer",
|
|
272
|
+
"primaryKey": false,
|
|
273
|
+
"notNull": true,
|
|
274
|
+
"default": 1
|
|
275
|
+
},
|
|
276
|
+
"timezone": {
|
|
277
|
+
"name": "timezone",
|
|
278
|
+
"type": "text",
|
|
279
|
+
"primaryKey": false,
|
|
280
|
+
"notNull": false
|
|
281
|
+
},
|
|
282
|
+
"workdir": {
|
|
283
|
+
"name": "workdir",
|
|
284
|
+
"type": "text",
|
|
285
|
+
"primaryKey": false,
|
|
286
|
+
"notNull": false
|
|
287
|
+
},
|
|
288
|
+
"task_file": {
|
|
289
|
+
"name": "task_file",
|
|
290
|
+
"type": "text",
|
|
291
|
+
"primaryKey": false,
|
|
292
|
+
"notNull": false
|
|
293
|
+
},
|
|
294
|
+
"task_file_content": {
|
|
295
|
+
"name": "task_file_content",
|
|
296
|
+
"type": "text",
|
|
297
|
+
"primaryKey": false,
|
|
298
|
+
"notNull": false
|
|
299
|
+
},
|
|
300
|
+
"task_file_synced_at": {
|
|
301
|
+
"name": "task_file_synced_at",
|
|
302
|
+
"type": "text",
|
|
303
|
+
"primaryKey": false,
|
|
304
|
+
"notNull": false
|
|
305
|
+
},
|
|
306
|
+
"workflow": {
|
|
307
|
+
"name": "workflow",
|
|
308
|
+
"type": "text",
|
|
309
|
+
"primaryKey": false,
|
|
310
|
+
"notNull": false
|
|
311
|
+
},
|
|
312
|
+
"ui": {
|
|
313
|
+
"name": "ui",
|
|
314
|
+
"type": "text",
|
|
315
|
+
"primaryKey": false,
|
|
316
|
+
"notNull": false
|
|
317
|
+
},
|
|
318
|
+
"state_schema": {
|
|
319
|
+
"name": "state_schema",
|
|
320
|
+
"type": "jsonb",
|
|
321
|
+
"primaryKey": false,
|
|
322
|
+
"notNull": false
|
|
323
|
+
},
|
|
324
|
+
"notify": {
|
|
325
|
+
"name": "notify",
|
|
326
|
+
"type": "text",
|
|
327
|
+
"primaryKey": false,
|
|
328
|
+
"notNull": true,
|
|
329
|
+
"default": "'auto'"
|
|
330
|
+
},
|
|
331
|
+
"allow_control": {
|
|
332
|
+
"name": "allow_control",
|
|
333
|
+
"type": "boolean",
|
|
334
|
+
"primaryKey": false,
|
|
335
|
+
"notNull": true,
|
|
336
|
+
"default": true
|
|
337
|
+
},
|
|
338
|
+
"goal": {
|
|
339
|
+
"name": "goal",
|
|
340
|
+
"type": "text",
|
|
341
|
+
"primaryKey": false,
|
|
342
|
+
"notNull": false
|
|
343
|
+
},
|
|
344
|
+
"completed_at": {
|
|
345
|
+
"name": "completed_at",
|
|
346
|
+
"type": "text",
|
|
347
|
+
"primaryKey": false,
|
|
348
|
+
"notNull": false
|
|
349
|
+
},
|
|
350
|
+
"delete_requested_at": {
|
|
351
|
+
"name": "delete_requested_at",
|
|
352
|
+
"type": "timestamp with time zone",
|
|
353
|
+
"primaryKey": false,
|
|
354
|
+
"notNull": false
|
|
355
|
+
},
|
|
356
|
+
"completion_reason": {
|
|
357
|
+
"name": "completion_reason",
|
|
358
|
+
"type": "text",
|
|
359
|
+
"primaryKey": false,
|
|
360
|
+
"notNull": false
|
|
361
|
+
},
|
|
362
|
+
"model": {
|
|
363
|
+
"name": "model",
|
|
364
|
+
"type": "text",
|
|
365
|
+
"primaryKey": false,
|
|
366
|
+
"notNull": false
|
|
367
|
+
},
|
|
368
|
+
"agent": {
|
|
369
|
+
"name": "agent",
|
|
370
|
+
"type": "text",
|
|
371
|
+
"primaryKey": false,
|
|
372
|
+
"notNull": true,
|
|
373
|
+
"default": "'claude-code'"
|
|
374
|
+
},
|
|
375
|
+
"enabled": {
|
|
376
|
+
"name": "enabled",
|
|
377
|
+
"type": "boolean",
|
|
378
|
+
"primaryKey": false,
|
|
379
|
+
"notNull": true,
|
|
380
|
+
"default": true
|
|
381
|
+
},
|
|
382
|
+
"next_run_at": {
|
|
383
|
+
"name": "next_run_at",
|
|
384
|
+
"type": "text",
|
|
385
|
+
"primaryKey": false,
|
|
386
|
+
"notNull": false
|
|
387
|
+
},
|
|
388
|
+
"evolve_due": {
|
|
389
|
+
"name": "evolve_due",
|
|
390
|
+
"type": "boolean",
|
|
391
|
+
"primaryKey": false,
|
|
392
|
+
"notNull": false
|
|
393
|
+
},
|
|
394
|
+
"edit_request": {
|
|
395
|
+
"name": "edit_request",
|
|
396
|
+
"type": "text",
|
|
397
|
+
"primaryKey": false,
|
|
398
|
+
"notNull": false
|
|
399
|
+
},
|
|
400
|
+
"next_cadence_at": {
|
|
401
|
+
"name": "next_cadence_at",
|
|
402
|
+
"type": "text",
|
|
403
|
+
"primaryKey": false,
|
|
404
|
+
"notNull": false
|
|
405
|
+
},
|
|
406
|
+
"state": {
|
|
407
|
+
"name": "state",
|
|
408
|
+
"type": "jsonb",
|
|
409
|
+
"primaryKey": false,
|
|
410
|
+
"notNull": false
|
|
411
|
+
},
|
|
412
|
+
"evolved_run_count": {
|
|
413
|
+
"name": "evolved_run_count",
|
|
414
|
+
"type": "integer",
|
|
415
|
+
"primaryKey": false,
|
|
416
|
+
"notNull": false
|
|
417
|
+
},
|
|
418
|
+
"created_at": {
|
|
419
|
+
"name": "created_at",
|
|
420
|
+
"type": "text",
|
|
421
|
+
"primaryKey": false,
|
|
422
|
+
"notNull": true
|
|
423
|
+
},
|
|
424
|
+
"updated_at": {
|
|
425
|
+
"name": "updated_at",
|
|
426
|
+
"type": "text",
|
|
427
|
+
"primaryKey": false,
|
|
428
|
+
"notNull": true
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"indexes": {
|
|
432
|
+
"loops_user_idx": {
|
|
433
|
+
"name": "loops_user_idx",
|
|
434
|
+
"columns": [
|
|
435
|
+
{
|
|
436
|
+
"expression": "user_id",
|
|
437
|
+
"isExpression": false,
|
|
438
|
+
"asc": true,
|
|
439
|
+
"nulls": "last"
|
|
440
|
+
}
|
|
441
|
+
],
|
|
442
|
+
"isUnique": false,
|
|
443
|
+
"concurrently": false,
|
|
444
|
+
"method": "btree",
|
|
445
|
+
"with": {}
|
|
446
|
+
},
|
|
447
|
+
"loops_team_idx": {
|
|
448
|
+
"name": "loops_team_idx",
|
|
449
|
+
"columns": [
|
|
450
|
+
{
|
|
451
|
+
"expression": "team_id",
|
|
452
|
+
"isExpression": false,
|
|
453
|
+
"asc": true,
|
|
454
|
+
"nulls": "last"
|
|
455
|
+
}
|
|
456
|
+
],
|
|
457
|
+
"isUnique": false,
|
|
458
|
+
"concurrently": false,
|
|
459
|
+
"method": "btree",
|
|
460
|
+
"with": {}
|
|
461
|
+
},
|
|
462
|
+
"loops_machine_idx": {
|
|
463
|
+
"name": "loops_machine_idx",
|
|
464
|
+
"columns": [
|
|
465
|
+
{
|
|
466
|
+
"expression": "machine_id",
|
|
467
|
+
"isExpression": false,
|
|
468
|
+
"asc": true,
|
|
469
|
+
"nulls": "last"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"isUnique": false,
|
|
473
|
+
"concurrently": false,
|
|
474
|
+
"method": "btree",
|
|
475
|
+
"with": {}
|
|
476
|
+
},
|
|
477
|
+
"delete_requested_loops": {
|
|
478
|
+
"name": "delete_requested_loops",
|
|
479
|
+
"columns": [
|
|
480
|
+
{
|
|
481
|
+
"expression": "delete_requested_at",
|
|
482
|
+
"isExpression": false,
|
|
483
|
+
"asc": true,
|
|
484
|
+
"nulls": "last"
|
|
485
|
+
}
|
|
486
|
+
],
|
|
487
|
+
"isUnique": false,
|
|
488
|
+
"where": "\"loops\".\"delete_requested_at\" IS NOT NULL",
|
|
489
|
+
"concurrently": false,
|
|
490
|
+
"method": "btree",
|
|
491
|
+
"with": {}
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"foreignKeys": {},
|
|
495
|
+
"compositePrimaryKeys": {},
|
|
496
|
+
"uniqueConstraints": {},
|
|
497
|
+
"policies": {},
|
|
498
|
+
"checkConstraints": {},
|
|
499
|
+
"isRLSEnabled": false
|
|
500
|
+
},
|
|
501
|
+
"public.machines": {
|
|
502
|
+
"name": "machines",
|
|
503
|
+
"schema": "",
|
|
504
|
+
"columns": {
|
|
505
|
+
"id": {
|
|
506
|
+
"name": "id",
|
|
507
|
+
"type": "text",
|
|
508
|
+
"primaryKey": true,
|
|
509
|
+
"notNull": true
|
|
510
|
+
},
|
|
511
|
+
"user_id": {
|
|
512
|
+
"name": "user_id",
|
|
513
|
+
"type": "text",
|
|
514
|
+
"primaryKey": false,
|
|
515
|
+
"notNull": true
|
|
516
|
+
},
|
|
517
|
+
"team_id": {
|
|
518
|
+
"name": "team_id",
|
|
519
|
+
"type": "text",
|
|
520
|
+
"primaryKey": false,
|
|
521
|
+
"notNull": false
|
|
522
|
+
},
|
|
523
|
+
"name": {
|
|
524
|
+
"name": "name",
|
|
525
|
+
"type": "text",
|
|
526
|
+
"primaryKey": false,
|
|
527
|
+
"notNull": true
|
|
528
|
+
},
|
|
529
|
+
"hostname": {
|
|
530
|
+
"name": "hostname",
|
|
531
|
+
"type": "text",
|
|
532
|
+
"primaryKey": false,
|
|
533
|
+
"notNull": false
|
|
534
|
+
},
|
|
535
|
+
"platform": {
|
|
536
|
+
"name": "platform",
|
|
537
|
+
"type": "text",
|
|
538
|
+
"primaryKey": false,
|
|
539
|
+
"notNull": false
|
|
540
|
+
},
|
|
541
|
+
"arch": {
|
|
542
|
+
"name": "arch",
|
|
543
|
+
"type": "text",
|
|
544
|
+
"primaryKey": false,
|
|
545
|
+
"notNull": false
|
|
546
|
+
},
|
|
547
|
+
"daemon_version": {
|
|
548
|
+
"name": "daemon_version",
|
|
549
|
+
"type": "text",
|
|
550
|
+
"primaryKey": false,
|
|
551
|
+
"notNull": false
|
|
552
|
+
},
|
|
553
|
+
"daemon_protocol": {
|
|
554
|
+
"name": "daemon_protocol",
|
|
555
|
+
"type": "integer",
|
|
556
|
+
"primaryKey": false,
|
|
557
|
+
"notNull": false
|
|
558
|
+
},
|
|
559
|
+
"token_hash": {
|
|
560
|
+
"name": "token_hash",
|
|
561
|
+
"type": "text",
|
|
562
|
+
"primaryKey": false,
|
|
563
|
+
"notNull": true
|
|
564
|
+
},
|
|
565
|
+
"token": {
|
|
566
|
+
"name": "token",
|
|
567
|
+
"type": "text",
|
|
568
|
+
"primaryKey": false,
|
|
569
|
+
"notNull": false
|
|
570
|
+
},
|
|
571
|
+
"roots": {
|
|
572
|
+
"name": "roots",
|
|
573
|
+
"type": "jsonb",
|
|
574
|
+
"primaryKey": false,
|
|
575
|
+
"notNull": false
|
|
576
|
+
},
|
|
577
|
+
"last_seen": {
|
|
578
|
+
"name": "last_seen",
|
|
579
|
+
"type": "text",
|
|
580
|
+
"primaryKey": false,
|
|
581
|
+
"notNull": false
|
|
582
|
+
},
|
|
583
|
+
"online": {
|
|
584
|
+
"name": "online",
|
|
585
|
+
"type": "boolean",
|
|
586
|
+
"primaryKey": false,
|
|
587
|
+
"notNull": true,
|
|
588
|
+
"default": false
|
|
589
|
+
},
|
|
590
|
+
"created_at": {
|
|
591
|
+
"name": "created_at",
|
|
592
|
+
"type": "text",
|
|
593
|
+
"primaryKey": false,
|
|
594
|
+
"notNull": true
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"indexes": {
|
|
598
|
+
"machines_user_idx": {
|
|
599
|
+
"name": "machines_user_idx",
|
|
600
|
+
"columns": [
|
|
601
|
+
{
|
|
602
|
+
"expression": "user_id",
|
|
603
|
+
"isExpression": false,
|
|
604
|
+
"asc": true,
|
|
605
|
+
"nulls": "last"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"isUnique": false,
|
|
609
|
+
"concurrently": false,
|
|
610
|
+
"method": "btree",
|
|
611
|
+
"with": {}
|
|
612
|
+
},
|
|
613
|
+
"machines_team_idx": {
|
|
614
|
+
"name": "machines_team_idx",
|
|
615
|
+
"columns": [
|
|
616
|
+
{
|
|
617
|
+
"expression": "team_id",
|
|
618
|
+
"isExpression": false,
|
|
619
|
+
"asc": true,
|
|
620
|
+
"nulls": "last"
|
|
621
|
+
}
|
|
622
|
+
],
|
|
623
|
+
"isUnique": false,
|
|
624
|
+
"concurrently": false,
|
|
625
|
+
"method": "btree",
|
|
626
|
+
"with": {}
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"foreignKeys": {},
|
|
630
|
+
"compositePrimaryKeys": {},
|
|
631
|
+
"uniqueConstraints": {},
|
|
632
|
+
"policies": {},
|
|
633
|
+
"checkConstraints": {},
|
|
634
|
+
"isRLSEnabled": false
|
|
635
|
+
},
|
|
636
|
+
"public.notification_channels": {
|
|
637
|
+
"name": "notification_channels",
|
|
638
|
+
"schema": "",
|
|
639
|
+
"columns": {
|
|
640
|
+
"id": {
|
|
641
|
+
"name": "id",
|
|
642
|
+
"type": "text",
|
|
643
|
+
"primaryKey": true,
|
|
644
|
+
"notNull": true
|
|
645
|
+
},
|
|
646
|
+
"team_id": {
|
|
647
|
+
"name": "team_id",
|
|
648
|
+
"type": "text",
|
|
649
|
+
"primaryKey": false,
|
|
650
|
+
"notNull": true
|
|
651
|
+
},
|
|
652
|
+
"type": {
|
|
653
|
+
"name": "type",
|
|
654
|
+
"type": "text",
|
|
655
|
+
"primaryKey": false,
|
|
656
|
+
"notNull": true
|
|
657
|
+
},
|
|
658
|
+
"name": {
|
|
659
|
+
"name": "name",
|
|
660
|
+
"type": "text",
|
|
661
|
+
"primaryKey": false,
|
|
662
|
+
"notNull": true
|
|
663
|
+
},
|
|
664
|
+
"config": {
|
|
665
|
+
"name": "config",
|
|
666
|
+
"type": "jsonb",
|
|
667
|
+
"primaryKey": false,
|
|
668
|
+
"notNull": true
|
|
669
|
+
},
|
|
670
|
+
"created_at": {
|
|
671
|
+
"name": "created_at",
|
|
672
|
+
"type": "text",
|
|
673
|
+
"primaryKey": false,
|
|
674
|
+
"notNull": true
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
"indexes": {
|
|
678
|
+
"notification_channels_team_idx": {
|
|
679
|
+
"name": "notification_channels_team_idx",
|
|
680
|
+
"columns": [
|
|
681
|
+
{
|
|
682
|
+
"expression": "team_id",
|
|
683
|
+
"isExpression": false,
|
|
684
|
+
"asc": true,
|
|
685
|
+
"nulls": "last"
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
"isUnique": false,
|
|
689
|
+
"concurrently": false,
|
|
690
|
+
"method": "btree",
|
|
691
|
+
"with": {}
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"foreignKeys": {},
|
|
695
|
+
"compositePrimaryKeys": {},
|
|
696
|
+
"uniqueConstraints": {},
|
|
697
|
+
"policies": {},
|
|
698
|
+
"checkConstraints": {},
|
|
699
|
+
"isRLSEnabled": false
|
|
700
|
+
},
|
|
701
|
+
"public.run_leases": {
|
|
702
|
+
"name": "run_leases",
|
|
703
|
+
"schema": "",
|
|
704
|
+
"columns": {
|
|
705
|
+
"token_hash": {
|
|
706
|
+
"name": "token_hash",
|
|
707
|
+
"type": "text",
|
|
708
|
+
"primaryKey": true,
|
|
709
|
+
"notNull": true
|
|
710
|
+
},
|
|
711
|
+
"run_id": {
|
|
712
|
+
"name": "run_id",
|
|
713
|
+
"type": "text",
|
|
714
|
+
"primaryKey": false,
|
|
715
|
+
"notNull": true
|
|
716
|
+
},
|
|
717
|
+
"loop_id": {
|
|
718
|
+
"name": "loop_id",
|
|
719
|
+
"type": "text",
|
|
720
|
+
"primaryKey": false,
|
|
721
|
+
"notNull": true
|
|
722
|
+
},
|
|
723
|
+
"machine_id": {
|
|
724
|
+
"name": "machine_id",
|
|
725
|
+
"type": "text",
|
|
726
|
+
"primaryKey": false,
|
|
727
|
+
"notNull": true
|
|
728
|
+
},
|
|
729
|
+
"role": {
|
|
730
|
+
"name": "role",
|
|
731
|
+
"type": "text",
|
|
732
|
+
"primaryKey": false,
|
|
733
|
+
"notNull": true
|
|
734
|
+
},
|
|
735
|
+
"allow_control": {
|
|
736
|
+
"name": "allow_control",
|
|
737
|
+
"type": "boolean",
|
|
738
|
+
"primaryKey": false,
|
|
739
|
+
"notNull": true,
|
|
740
|
+
"default": false
|
|
741
|
+
},
|
|
742
|
+
"can_set_ui": {
|
|
743
|
+
"name": "can_set_ui",
|
|
744
|
+
"type": "boolean",
|
|
745
|
+
"primaryKey": false,
|
|
746
|
+
"notNull": true,
|
|
747
|
+
"default": false
|
|
748
|
+
},
|
|
749
|
+
"can_set_schema": {
|
|
750
|
+
"name": "can_set_schema",
|
|
751
|
+
"type": "boolean",
|
|
752
|
+
"primaryKey": false,
|
|
753
|
+
"notNull": true,
|
|
754
|
+
"default": false
|
|
755
|
+
},
|
|
756
|
+
"can_set_workflow": {
|
|
757
|
+
"name": "can_set_workflow",
|
|
758
|
+
"type": "boolean",
|
|
759
|
+
"primaryKey": false,
|
|
760
|
+
"notNull": true,
|
|
761
|
+
"default": false
|
|
762
|
+
},
|
|
763
|
+
"can_finish": {
|
|
764
|
+
"name": "can_finish",
|
|
765
|
+
"type": "boolean",
|
|
766
|
+
"primaryKey": false,
|
|
767
|
+
"notNull": true,
|
|
768
|
+
"default": false
|
|
769
|
+
},
|
|
770
|
+
"state": {
|
|
771
|
+
"name": "state",
|
|
772
|
+
"type": "text",
|
|
773
|
+
"primaryKey": false,
|
|
774
|
+
"notNull": true,
|
|
775
|
+
"default": "'active'"
|
|
776
|
+
},
|
|
777
|
+
"expires_at": {
|
|
778
|
+
"name": "expires_at",
|
|
779
|
+
"type": "text",
|
|
780
|
+
"primaryKey": false,
|
|
781
|
+
"notNull": false
|
|
782
|
+
},
|
|
783
|
+
"created_at": {
|
|
784
|
+
"name": "created_at",
|
|
785
|
+
"type": "text",
|
|
786
|
+
"primaryKey": false,
|
|
787
|
+
"notNull": true
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"indexes": {
|
|
791
|
+
"run_leases_run_idx": {
|
|
792
|
+
"name": "run_leases_run_idx",
|
|
793
|
+
"columns": [
|
|
794
|
+
{
|
|
795
|
+
"expression": "run_id",
|
|
796
|
+
"isExpression": false,
|
|
797
|
+
"asc": true,
|
|
798
|
+
"nulls": "last"
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"isUnique": false,
|
|
802
|
+
"concurrently": false,
|
|
803
|
+
"method": "btree",
|
|
804
|
+
"with": {}
|
|
805
|
+
},
|
|
806
|
+
"run_leases_loop_idx": {
|
|
807
|
+
"name": "run_leases_loop_idx",
|
|
808
|
+
"columns": [
|
|
809
|
+
{
|
|
810
|
+
"expression": "loop_id",
|
|
811
|
+
"isExpression": false,
|
|
812
|
+
"asc": true,
|
|
813
|
+
"nulls": "last"
|
|
814
|
+
}
|
|
815
|
+
],
|
|
816
|
+
"isUnique": false,
|
|
817
|
+
"concurrently": false,
|
|
818
|
+
"method": "btree",
|
|
819
|
+
"with": {}
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
"foreignKeys": {},
|
|
823
|
+
"compositePrimaryKeys": {},
|
|
824
|
+
"uniqueConstraints": {},
|
|
825
|
+
"policies": {},
|
|
826
|
+
"checkConstraints": {},
|
|
827
|
+
"isRLSEnabled": false
|
|
828
|
+
},
|
|
829
|
+
"public.run_report_receipts": {
|
|
830
|
+
"name": "run_report_receipts",
|
|
831
|
+
"schema": "",
|
|
832
|
+
"columns": {
|
|
833
|
+
"report_id": {
|
|
834
|
+
"name": "report_id",
|
|
835
|
+
"type": "text",
|
|
836
|
+
"primaryKey": true,
|
|
837
|
+
"notNull": true
|
|
838
|
+
},
|
|
839
|
+
"run_id": {
|
|
840
|
+
"name": "run_id",
|
|
841
|
+
"type": "text",
|
|
842
|
+
"primaryKey": false,
|
|
843
|
+
"notNull": true
|
|
844
|
+
},
|
|
845
|
+
"payload_digest": {
|
|
846
|
+
"name": "payload_digest",
|
|
847
|
+
"type": "text",
|
|
848
|
+
"primaryKey": false,
|
|
849
|
+
"notNull": true
|
|
850
|
+
},
|
|
851
|
+
"ack_status": {
|
|
852
|
+
"name": "ack_status",
|
|
853
|
+
"type": "integer",
|
|
854
|
+
"primaryKey": false,
|
|
855
|
+
"notNull": true
|
|
856
|
+
},
|
|
857
|
+
"ack_body": {
|
|
858
|
+
"name": "ack_body",
|
|
859
|
+
"type": "jsonb",
|
|
860
|
+
"primaryKey": false,
|
|
861
|
+
"notNull": true
|
|
862
|
+
},
|
|
863
|
+
"created_at": {
|
|
864
|
+
"name": "created_at",
|
|
865
|
+
"type": "timestamp with time zone",
|
|
866
|
+
"primaryKey": false,
|
|
867
|
+
"notNull": true
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"indexes": {
|
|
871
|
+
"report_receipts_created": {
|
|
872
|
+
"name": "report_receipts_created",
|
|
873
|
+
"columns": [
|
|
874
|
+
{
|
|
875
|
+
"expression": "created_at",
|
|
876
|
+
"isExpression": false,
|
|
877
|
+
"asc": true,
|
|
878
|
+
"nulls": "last"
|
|
879
|
+
}
|
|
880
|
+
],
|
|
881
|
+
"isUnique": false,
|
|
882
|
+
"concurrently": false,
|
|
883
|
+
"method": "btree",
|
|
884
|
+
"with": {}
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"foreignKeys": {},
|
|
888
|
+
"compositePrimaryKeys": {},
|
|
889
|
+
"uniqueConstraints": {},
|
|
890
|
+
"policies": {},
|
|
891
|
+
"checkConstraints": {},
|
|
892
|
+
"isRLSEnabled": false
|
|
893
|
+
},
|
|
894
|
+
"public.run_snapshots": {
|
|
895
|
+
"name": "run_snapshots",
|
|
896
|
+
"schema": "",
|
|
897
|
+
"columns": {
|
|
898
|
+
"run_id": {
|
|
899
|
+
"name": "run_id",
|
|
900
|
+
"type": "text",
|
|
901
|
+
"primaryKey": true,
|
|
902
|
+
"notNull": true
|
|
903
|
+
},
|
|
904
|
+
"loop_id": {
|
|
905
|
+
"name": "loop_id",
|
|
906
|
+
"type": "text",
|
|
907
|
+
"primaryKey": false,
|
|
908
|
+
"notNull": true
|
|
909
|
+
},
|
|
910
|
+
"manifest": {
|
|
911
|
+
"name": "manifest",
|
|
912
|
+
"type": "jsonb",
|
|
913
|
+
"primaryKey": false,
|
|
914
|
+
"notNull": true
|
|
915
|
+
},
|
|
916
|
+
"created_at": {
|
|
917
|
+
"name": "created_at",
|
|
918
|
+
"type": "text",
|
|
919
|
+
"primaryKey": false,
|
|
920
|
+
"notNull": true
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"indexes": {
|
|
924
|
+
"run_snapshots_loop_idx": {
|
|
925
|
+
"name": "run_snapshots_loop_idx",
|
|
926
|
+
"columns": [
|
|
927
|
+
{
|
|
928
|
+
"expression": "loop_id",
|
|
929
|
+
"isExpression": false,
|
|
930
|
+
"asc": true,
|
|
931
|
+
"nulls": "last"
|
|
932
|
+
}
|
|
933
|
+
],
|
|
934
|
+
"isUnique": false,
|
|
935
|
+
"concurrently": false,
|
|
936
|
+
"method": "btree",
|
|
937
|
+
"with": {}
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"foreignKeys": {},
|
|
941
|
+
"compositePrimaryKeys": {},
|
|
942
|
+
"uniqueConstraints": {},
|
|
943
|
+
"policies": {},
|
|
944
|
+
"checkConstraints": {},
|
|
945
|
+
"isRLSEnabled": false
|
|
946
|
+
},
|
|
947
|
+
"public.runs": {
|
|
948
|
+
"name": "runs",
|
|
949
|
+
"schema": "",
|
|
950
|
+
"columns": {
|
|
951
|
+
"id": {
|
|
952
|
+
"name": "id",
|
|
953
|
+
"type": "text",
|
|
954
|
+
"primaryKey": true,
|
|
955
|
+
"notNull": true
|
|
956
|
+
},
|
|
957
|
+
"loop_id": {
|
|
958
|
+
"name": "loop_id",
|
|
959
|
+
"type": "text",
|
|
960
|
+
"primaryKey": false,
|
|
961
|
+
"notNull": true
|
|
962
|
+
},
|
|
963
|
+
"user_id": {
|
|
964
|
+
"name": "user_id",
|
|
965
|
+
"type": "text",
|
|
966
|
+
"primaryKey": false,
|
|
967
|
+
"notNull": true
|
|
968
|
+
},
|
|
969
|
+
"machine_id": {
|
|
970
|
+
"name": "machine_id",
|
|
971
|
+
"type": "text",
|
|
972
|
+
"primaryKey": false,
|
|
973
|
+
"notNull": true
|
|
974
|
+
},
|
|
975
|
+
"agent": {
|
|
976
|
+
"name": "agent",
|
|
977
|
+
"type": "text",
|
|
978
|
+
"primaryKey": false,
|
|
979
|
+
"notNull": false
|
|
980
|
+
},
|
|
981
|
+
"phase": {
|
|
982
|
+
"name": "phase",
|
|
983
|
+
"type": "text",
|
|
984
|
+
"primaryKey": false,
|
|
985
|
+
"notNull": true
|
|
986
|
+
},
|
|
987
|
+
"role": {
|
|
988
|
+
"name": "role",
|
|
989
|
+
"type": "text",
|
|
990
|
+
"primaryKey": false,
|
|
991
|
+
"notNull": true
|
|
992
|
+
},
|
|
993
|
+
"requested_by": {
|
|
994
|
+
"name": "requested_by",
|
|
995
|
+
"type": "text",
|
|
996
|
+
"primaryKey": false,
|
|
997
|
+
"notNull": true,
|
|
998
|
+
"default": "'system'"
|
|
999
|
+
},
|
|
1000
|
+
"request_text": {
|
|
1001
|
+
"name": "request_text",
|
|
1002
|
+
"type": "text",
|
|
1003
|
+
"primaryKey": false,
|
|
1004
|
+
"notNull": false
|
|
1005
|
+
},
|
|
1006
|
+
"ts": {
|
|
1007
|
+
"name": "ts",
|
|
1008
|
+
"type": "text",
|
|
1009
|
+
"primaryKey": false,
|
|
1010
|
+
"notNull": true
|
|
1011
|
+
},
|
|
1012
|
+
"created_at": {
|
|
1013
|
+
"name": "created_at",
|
|
1014
|
+
"type": "text",
|
|
1015
|
+
"primaryKey": false,
|
|
1016
|
+
"notNull": true,
|
|
1017
|
+
"default": "CURRENT_TIMESTAMP::text"
|
|
1018
|
+
},
|
|
1019
|
+
"updated_at": {
|
|
1020
|
+
"name": "updated_at",
|
|
1021
|
+
"type": "text",
|
|
1022
|
+
"primaryKey": false,
|
|
1023
|
+
"notNull": true,
|
|
1024
|
+
"default": "CURRENT_TIMESTAMP::text"
|
|
1025
|
+
},
|
|
1026
|
+
"outcome": {
|
|
1027
|
+
"name": "outcome",
|
|
1028
|
+
"type": "text",
|
|
1029
|
+
"primaryKey": false,
|
|
1030
|
+
"notNull": false
|
|
1031
|
+
},
|
|
1032
|
+
"status": {
|
|
1033
|
+
"name": "status",
|
|
1034
|
+
"type": "text",
|
|
1035
|
+
"primaryKey": false,
|
|
1036
|
+
"notNull": false
|
|
1037
|
+
},
|
|
1038
|
+
"message": {
|
|
1039
|
+
"name": "message",
|
|
1040
|
+
"type": "text",
|
|
1041
|
+
"primaryKey": false,
|
|
1042
|
+
"notNull": false
|
|
1043
|
+
},
|
|
1044
|
+
"duration_ms": {
|
|
1045
|
+
"name": "duration_ms",
|
|
1046
|
+
"type": "integer",
|
|
1047
|
+
"primaryKey": false,
|
|
1048
|
+
"notNull": false
|
|
1049
|
+
},
|
|
1050
|
+
"exit_code": {
|
|
1051
|
+
"name": "exit_code",
|
|
1052
|
+
"type": "integer",
|
|
1053
|
+
"primaryKey": false,
|
|
1054
|
+
"notNull": false
|
|
1055
|
+
},
|
|
1056
|
+
"final_text": {
|
|
1057
|
+
"name": "final_text",
|
|
1058
|
+
"type": "text",
|
|
1059
|
+
"primaryKey": false,
|
|
1060
|
+
"notNull": false
|
|
1061
|
+
},
|
|
1062
|
+
"error": {
|
|
1063
|
+
"name": "error",
|
|
1064
|
+
"type": "text",
|
|
1065
|
+
"primaryKey": false,
|
|
1066
|
+
"notNull": false
|
|
1067
|
+
},
|
|
1068
|
+
"state": {
|
|
1069
|
+
"name": "state",
|
|
1070
|
+
"type": "jsonb",
|
|
1071
|
+
"primaryKey": false,
|
|
1072
|
+
"notNull": false
|
|
1073
|
+
},
|
|
1074
|
+
"control": {
|
|
1075
|
+
"name": "control",
|
|
1076
|
+
"type": "jsonb",
|
|
1077
|
+
"primaryKey": false,
|
|
1078
|
+
"notNull": false
|
|
1079
|
+
},
|
|
1080
|
+
"session_id": {
|
|
1081
|
+
"name": "session_id",
|
|
1082
|
+
"type": "text",
|
|
1083
|
+
"primaryKey": false,
|
|
1084
|
+
"notNull": false
|
|
1085
|
+
},
|
|
1086
|
+
"usage": {
|
|
1087
|
+
"name": "usage",
|
|
1088
|
+
"type": "jsonb",
|
|
1089
|
+
"primaryKey": false,
|
|
1090
|
+
"notNull": false
|
|
1091
|
+
},
|
|
1092
|
+
"cancel_requested_at": {
|
|
1093
|
+
"name": "cancel_requested_at",
|
|
1094
|
+
"type": "timestamp with time zone",
|
|
1095
|
+
"primaryKey": false,
|
|
1096
|
+
"notNull": false
|
|
1097
|
+
},
|
|
1098
|
+
"heartbeat_at": {
|
|
1099
|
+
"name": "heartbeat_at",
|
|
1100
|
+
"type": "text",
|
|
1101
|
+
"primaryKey": false,
|
|
1102
|
+
"notNull": false
|
|
1103
|
+
},
|
|
1104
|
+
"deferred_at": {
|
|
1105
|
+
"name": "deferred_at",
|
|
1106
|
+
"type": "text",
|
|
1107
|
+
"primaryKey": false,
|
|
1108
|
+
"notNull": false
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"indexes": {
|
|
1112
|
+
"runs_loop_idx": {
|
|
1113
|
+
"name": "runs_loop_idx",
|
|
1114
|
+
"columns": [
|
|
1115
|
+
{
|
|
1116
|
+
"expression": "loop_id",
|
|
1117
|
+
"isExpression": false,
|
|
1118
|
+
"asc": true,
|
|
1119
|
+
"nulls": "last"
|
|
1120
|
+
}
|
|
1121
|
+
],
|
|
1122
|
+
"isUnique": false,
|
|
1123
|
+
"concurrently": false,
|
|
1124
|
+
"method": "btree",
|
|
1125
|
+
"with": {}
|
|
1126
|
+
},
|
|
1127
|
+
"runs_phase_idx": {
|
|
1128
|
+
"name": "runs_phase_idx",
|
|
1129
|
+
"columns": [
|
|
1130
|
+
{
|
|
1131
|
+
"expression": "phase",
|
|
1132
|
+
"isExpression": false,
|
|
1133
|
+
"asc": true,
|
|
1134
|
+
"nulls": "last"
|
|
1135
|
+
}
|
|
1136
|
+
],
|
|
1137
|
+
"isUnique": false,
|
|
1138
|
+
"concurrently": false,
|
|
1139
|
+
"method": "btree",
|
|
1140
|
+
"with": {}
|
|
1141
|
+
},
|
|
1142
|
+
"runs_machine_phase_ready_idx": {
|
|
1143
|
+
"name": "runs_machine_phase_ready_idx",
|
|
1144
|
+
"columns": [
|
|
1145
|
+
{
|
|
1146
|
+
"expression": "machine_id",
|
|
1147
|
+
"isExpression": false,
|
|
1148
|
+
"asc": true,
|
|
1149
|
+
"nulls": "last"
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"expression": "phase",
|
|
1153
|
+
"isExpression": false,
|
|
1154
|
+
"asc": true,
|
|
1155
|
+
"nulls": "last"
|
|
1156
|
+
}
|
|
1157
|
+
],
|
|
1158
|
+
"isUnique": false,
|
|
1159
|
+
"concurrently": false,
|
|
1160
|
+
"method": "btree",
|
|
1161
|
+
"with": {}
|
|
1162
|
+
},
|
|
1163
|
+
"runs_loop_ts_idx": {
|
|
1164
|
+
"name": "runs_loop_ts_idx",
|
|
1165
|
+
"columns": [
|
|
1166
|
+
{
|
|
1167
|
+
"expression": "loop_id",
|
|
1168
|
+
"isExpression": false,
|
|
1169
|
+
"asc": true,
|
|
1170
|
+
"nulls": "last"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"expression": "ts",
|
|
1174
|
+
"isExpression": false,
|
|
1175
|
+
"asc": true,
|
|
1176
|
+
"nulls": "last"
|
|
1177
|
+
}
|
|
1178
|
+
],
|
|
1179
|
+
"isUnique": false,
|
|
1180
|
+
"concurrently": false,
|
|
1181
|
+
"method": "btree",
|
|
1182
|
+
"with": {}
|
|
1183
|
+
},
|
|
1184
|
+
"runs_loop_role_pending_idx": {
|
|
1185
|
+
"name": "runs_loop_role_pending_idx",
|
|
1186
|
+
"columns": [
|
|
1187
|
+
{
|
|
1188
|
+
"expression": "loop_id",
|
|
1189
|
+
"isExpression": false,
|
|
1190
|
+
"asc": true,
|
|
1191
|
+
"nulls": "last"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"expression": "role",
|
|
1195
|
+
"isExpression": false,
|
|
1196
|
+
"asc": true,
|
|
1197
|
+
"nulls": "last"
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
1200
|
+
"isUnique": true,
|
|
1201
|
+
"where": "\"runs\".\"phase\" = 'pending'",
|
|
1202
|
+
"concurrently": false,
|
|
1203
|
+
"method": "btree",
|
|
1204
|
+
"with": {}
|
|
1205
|
+
},
|
|
1206
|
+
"one_running_run_per_machine": {
|
|
1207
|
+
"name": "one_running_run_per_machine",
|
|
1208
|
+
"columns": [
|
|
1209
|
+
{
|
|
1210
|
+
"expression": "machine_id",
|
|
1211
|
+
"isExpression": false,
|
|
1212
|
+
"asc": true,
|
|
1213
|
+
"nulls": "last"
|
|
1214
|
+
}
|
|
1215
|
+
],
|
|
1216
|
+
"isUnique": true,
|
|
1217
|
+
"where": "\"runs\".\"phase\" = 'running'",
|
|
1218
|
+
"concurrently": false,
|
|
1219
|
+
"method": "btree",
|
|
1220
|
+
"with": {}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
"foreignKeys": {},
|
|
1224
|
+
"compositePrimaryKeys": {},
|
|
1225
|
+
"uniqueConstraints": {},
|
|
1226
|
+
"policies": {},
|
|
1227
|
+
"checkConstraints": {},
|
|
1228
|
+
"isRLSEnabled": false
|
|
1229
|
+
},
|
|
1230
|
+
"public.team_invites": {
|
|
1231
|
+
"name": "team_invites",
|
|
1232
|
+
"schema": "",
|
|
1233
|
+
"columns": {
|
|
1234
|
+
"token": {
|
|
1235
|
+
"name": "token",
|
|
1236
|
+
"type": "text",
|
|
1237
|
+
"primaryKey": true,
|
|
1238
|
+
"notNull": true
|
|
1239
|
+
},
|
|
1240
|
+
"team_id": {
|
|
1241
|
+
"name": "team_id",
|
|
1242
|
+
"type": "text",
|
|
1243
|
+
"primaryKey": false,
|
|
1244
|
+
"notNull": true
|
|
1245
|
+
},
|
|
1246
|
+
"role": {
|
|
1247
|
+
"name": "role",
|
|
1248
|
+
"type": "text",
|
|
1249
|
+
"primaryKey": false,
|
|
1250
|
+
"notNull": true,
|
|
1251
|
+
"default": "'member'"
|
|
1252
|
+
},
|
|
1253
|
+
"invited_by_user_id": {
|
|
1254
|
+
"name": "invited_by_user_id",
|
|
1255
|
+
"type": "text",
|
|
1256
|
+
"primaryKey": false,
|
|
1257
|
+
"notNull": true
|
|
1258
|
+
},
|
|
1259
|
+
"expires_at": {
|
|
1260
|
+
"name": "expires_at",
|
|
1261
|
+
"type": "text",
|
|
1262
|
+
"primaryKey": false,
|
|
1263
|
+
"notNull": true
|
|
1264
|
+
},
|
|
1265
|
+
"redeemed_at": {
|
|
1266
|
+
"name": "redeemed_at",
|
|
1267
|
+
"type": "text",
|
|
1268
|
+
"primaryKey": false,
|
|
1269
|
+
"notNull": false
|
|
1270
|
+
},
|
|
1271
|
+
"redeemed_by_user_id": {
|
|
1272
|
+
"name": "redeemed_by_user_id",
|
|
1273
|
+
"type": "text",
|
|
1274
|
+
"primaryKey": false,
|
|
1275
|
+
"notNull": false
|
|
1276
|
+
},
|
|
1277
|
+
"created_at": {
|
|
1278
|
+
"name": "created_at",
|
|
1279
|
+
"type": "text",
|
|
1280
|
+
"primaryKey": false,
|
|
1281
|
+
"notNull": true
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
"indexes": {
|
|
1285
|
+
"team_invites_team_idx": {
|
|
1286
|
+
"name": "team_invites_team_idx",
|
|
1287
|
+
"columns": [
|
|
1288
|
+
{
|
|
1289
|
+
"expression": "team_id",
|
|
1290
|
+
"isExpression": false,
|
|
1291
|
+
"asc": true,
|
|
1292
|
+
"nulls": "last"
|
|
1293
|
+
}
|
|
1294
|
+
],
|
|
1295
|
+
"isUnique": false,
|
|
1296
|
+
"concurrently": false,
|
|
1297
|
+
"method": "btree",
|
|
1298
|
+
"with": {}
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"foreignKeys": {},
|
|
1302
|
+
"compositePrimaryKeys": {},
|
|
1303
|
+
"uniqueConstraints": {},
|
|
1304
|
+
"policies": {},
|
|
1305
|
+
"checkConstraints": {},
|
|
1306
|
+
"isRLSEnabled": false
|
|
1307
|
+
},
|
|
1308
|
+
"public.team_members": {
|
|
1309
|
+
"name": "team_members",
|
|
1310
|
+
"schema": "",
|
|
1311
|
+
"columns": {
|
|
1312
|
+
"id": {
|
|
1313
|
+
"name": "id",
|
|
1314
|
+
"type": "text",
|
|
1315
|
+
"primaryKey": true,
|
|
1316
|
+
"notNull": true
|
|
1317
|
+
},
|
|
1318
|
+
"team_id": {
|
|
1319
|
+
"name": "team_id",
|
|
1320
|
+
"type": "text",
|
|
1321
|
+
"primaryKey": false,
|
|
1322
|
+
"notNull": true
|
|
1323
|
+
},
|
|
1324
|
+
"user_id": {
|
|
1325
|
+
"name": "user_id",
|
|
1326
|
+
"type": "text",
|
|
1327
|
+
"primaryKey": false,
|
|
1328
|
+
"notNull": true
|
|
1329
|
+
},
|
|
1330
|
+
"role": {
|
|
1331
|
+
"name": "role",
|
|
1332
|
+
"type": "text",
|
|
1333
|
+
"primaryKey": false,
|
|
1334
|
+
"notNull": true,
|
|
1335
|
+
"default": "'member'"
|
|
1336
|
+
},
|
|
1337
|
+
"created_at": {
|
|
1338
|
+
"name": "created_at",
|
|
1339
|
+
"type": "text",
|
|
1340
|
+
"primaryKey": false,
|
|
1341
|
+
"notNull": true
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
"indexes": {
|
|
1345
|
+
"team_members_team_idx": {
|
|
1346
|
+
"name": "team_members_team_idx",
|
|
1347
|
+
"columns": [
|
|
1348
|
+
{
|
|
1349
|
+
"expression": "team_id",
|
|
1350
|
+
"isExpression": false,
|
|
1351
|
+
"asc": true,
|
|
1352
|
+
"nulls": "last"
|
|
1353
|
+
}
|
|
1354
|
+
],
|
|
1355
|
+
"isUnique": false,
|
|
1356
|
+
"concurrently": false,
|
|
1357
|
+
"method": "btree",
|
|
1358
|
+
"with": {}
|
|
1359
|
+
},
|
|
1360
|
+
"team_members_user_idx": {
|
|
1361
|
+
"name": "team_members_user_idx",
|
|
1362
|
+
"columns": [
|
|
1363
|
+
{
|
|
1364
|
+
"expression": "user_id",
|
|
1365
|
+
"isExpression": false,
|
|
1366
|
+
"asc": true,
|
|
1367
|
+
"nulls": "last"
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
"isUnique": false,
|
|
1371
|
+
"concurrently": false,
|
|
1372
|
+
"method": "btree",
|
|
1373
|
+
"with": {}
|
|
1374
|
+
}
|
|
1375
|
+
},
|
|
1376
|
+
"foreignKeys": {},
|
|
1377
|
+
"compositePrimaryKeys": {},
|
|
1378
|
+
"uniqueConstraints": {},
|
|
1379
|
+
"policies": {},
|
|
1380
|
+
"checkConstraints": {},
|
|
1381
|
+
"isRLSEnabled": false
|
|
1382
|
+
},
|
|
1383
|
+
"public.teams": {
|
|
1384
|
+
"name": "teams",
|
|
1385
|
+
"schema": "",
|
|
1386
|
+
"columns": {
|
|
1387
|
+
"id": {
|
|
1388
|
+
"name": "id",
|
|
1389
|
+
"type": "text",
|
|
1390
|
+
"primaryKey": true,
|
|
1391
|
+
"notNull": true
|
|
1392
|
+
},
|
|
1393
|
+
"name": {
|
|
1394
|
+
"name": "name",
|
|
1395
|
+
"type": "text",
|
|
1396
|
+
"primaryKey": false,
|
|
1397
|
+
"notNull": true
|
|
1398
|
+
},
|
|
1399
|
+
"owner_user_id": {
|
|
1400
|
+
"name": "owner_user_id",
|
|
1401
|
+
"type": "text",
|
|
1402
|
+
"primaryKey": false,
|
|
1403
|
+
"notNull": false
|
|
1404
|
+
},
|
|
1405
|
+
"created_at": {
|
|
1406
|
+
"name": "created_at",
|
|
1407
|
+
"type": "text",
|
|
1408
|
+
"primaryKey": false,
|
|
1409
|
+
"notNull": true
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
"indexes": {},
|
|
1413
|
+
"foreignKeys": {},
|
|
1414
|
+
"compositePrimaryKeys": {},
|
|
1415
|
+
"uniqueConstraints": {},
|
|
1416
|
+
"policies": {},
|
|
1417
|
+
"checkConstraints": {},
|
|
1418
|
+
"isRLSEnabled": false
|
|
1419
|
+
},
|
|
1420
|
+
"public.account": {
|
|
1421
|
+
"name": "account",
|
|
1422
|
+
"schema": "",
|
|
1423
|
+
"columns": {
|
|
1424
|
+
"id": {
|
|
1425
|
+
"name": "id",
|
|
1426
|
+
"type": "text",
|
|
1427
|
+
"primaryKey": true,
|
|
1428
|
+
"notNull": true
|
|
1429
|
+
},
|
|
1430
|
+
"account_id": {
|
|
1431
|
+
"name": "account_id",
|
|
1432
|
+
"type": "text",
|
|
1433
|
+
"primaryKey": false,
|
|
1434
|
+
"notNull": true
|
|
1435
|
+
},
|
|
1436
|
+
"provider_id": {
|
|
1437
|
+
"name": "provider_id",
|
|
1438
|
+
"type": "text",
|
|
1439
|
+
"primaryKey": false,
|
|
1440
|
+
"notNull": true
|
|
1441
|
+
},
|
|
1442
|
+
"user_id": {
|
|
1443
|
+
"name": "user_id",
|
|
1444
|
+
"type": "text",
|
|
1445
|
+
"primaryKey": false,
|
|
1446
|
+
"notNull": true
|
|
1447
|
+
},
|
|
1448
|
+
"access_token": {
|
|
1449
|
+
"name": "access_token",
|
|
1450
|
+
"type": "text",
|
|
1451
|
+
"primaryKey": false,
|
|
1452
|
+
"notNull": false
|
|
1453
|
+
},
|
|
1454
|
+
"refresh_token": {
|
|
1455
|
+
"name": "refresh_token",
|
|
1456
|
+
"type": "text",
|
|
1457
|
+
"primaryKey": false,
|
|
1458
|
+
"notNull": false
|
|
1459
|
+
},
|
|
1460
|
+
"id_token": {
|
|
1461
|
+
"name": "id_token",
|
|
1462
|
+
"type": "text",
|
|
1463
|
+
"primaryKey": false,
|
|
1464
|
+
"notNull": false
|
|
1465
|
+
},
|
|
1466
|
+
"access_token_expires_at": {
|
|
1467
|
+
"name": "access_token_expires_at",
|
|
1468
|
+
"type": "timestamp",
|
|
1469
|
+
"primaryKey": false,
|
|
1470
|
+
"notNull": false
|
|
1471
|
+
},
|
|
1472
|
+
"refresh_token_expires_at": {
|
|
1473
|
+
"name": "refresh_token_expires_at",
|
|
1474
|
+
"type": "timestamp",
|
|
1475
|
+
"primaryKey": false,
|
|
1476
|
+
"notNull": false
|
|
1477
|
+
},
|
|
1478
|
+
"scope": {
|
|
1479
|
+
"name": "scope",
|
|
1480
|
+
"type": "text",
|
|
1481
|
+
"primaryKey": false,
|
|
1482
|
+
"notNull": false
|
|
1483
|
+
},
|
|
1484
|
+
"password": {
|
|
1485
|
+
"name": "password",
|
|
1486
|
+
"type": "text",
|
|
1487
|
+
"primaryKey": false,
|
|
1488
|
+
"notNull": false
|
|
1489
|
+
},
|
|
1490
|
+
"created_at": {
|
|
1491
|
+
"name": "created_at",
|
|
1492
|
+
"type": "timestamp",
|
|
1493
|
+
"primaryKey": false,
|
|
1494
|
+
"notNull": true,
|
|
1495
|
+
"default": "now()"
|
|
1496
|
+
},
|
|
1497
|
+
"updated_at": {
|
|
1498
|
+
"name": "updated_at",
|
|
1499
|
+
"type": "timestamp",
|
|
1500
|
+
"primaryKey": false,
|
|
1501
|
+
"notNull": true
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
"indexes": {
|
|
1505
|
+
"account_userId_idx": {
|
|
1506
|
+
"name": "account_userId_idx",
|
|
1507
|
+
"columns": [
|
|
1508
|
+
{
|
|
1509
|
+
"expression": "user_id",
|
|
1510
|
+
"isExpression": false,
|
|
1511
|
+
"asc": true,
|
|
1512
|
+
"nulls": "last"
|
|
1513
|
+
}
|
|
1514
|
+
],
|
|
1515
|
+
"isUnique": false,
|
|
1516
|
+
"concurrently": false,
|
|
1517
|
+
"method": "btree",
|
|
1518
|
+
"with": {}
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
"foreignKeys": {
|
|
1522
|
+
"account_user_id_user_id_fk": {
|
|
1523
|
+
"name": "account_user_id_user_id_fk",
|
|
1524
|
+
"tableFrom": "account",
|
|
1525
|
+
"tableTo": "user",
|
|
1526
|
+
"columnsFrom": [
|
|
1527
|
+
"user_id"
|
|
1528
|
+
],
|
|
1529
|
+
"columnsTo": [
|
|
1530
|
+
"id"
|
|
1531
|
+
],
|
|
1532
|
+
"onDelete": "cascade",
|
|
1533
|
+
"onUpdate": "no action"
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
"compositePrimaryKeys": {},
|
|
1537
|
+
"uniqueConstraints": {},
|
|
1538
|
+
"policies": {},
|
|
1539
|
+
"checkConstraints": {},
|
|
1540
|
+
"isRLSEnabled": false
|
|
1541
|
+
},
|
|
1542
|
+
"public.session": {
|
|
1543
|
+
"name": "session",
|
|
1544
|
+
"schema": "",
|
|
1545
|
+
"columns": {
|
|
1546
|
+
"id": {
|
|
1547
|
+
"name": "id",
|
|
1548
|
+
"type": "text",
|
|
1549
|
+
"primaryKey": true,
|
|
1550
|
+
"notNull": true
|
|
1551
|
+
},
|
|
1552
|
+
"expires_at": {
|
|
1553
|
+
"name": "expires_at",
|
|
1554
|
+
"type": "timestamp",
|
|
1555
|
+
"primaryKey": false,
|
|
1556
|
+
"notNull": true
|
|
1557
|
+
},
|
|
1558
|
+
"token": {
|
|
1559
|
+
"name": "token",
|
|
1560
|
+
"type": "text",
|
|
1561
|
+
"primaryKey": false,
|
|
1562
|
+
"notNull": true
|
|
1563
|
+
},
|
|
1564
|
+
"created_at": {
|
|
1565
|
+
"name": "created_at",
|
|
1566
|
+
"type": "timestamp",
|
|
1567
|
+
"primaryKey": false,
|
|
1568
|
+
"notNull": true,
|
|
1569
|
+
"default": "now()"
|
|
1570
|
+
},
|
|
1571
|
+
"updated_at": {
|
|
1572
|
+
"name": "updated_at",
|
|
1573
|
+
"type": "timestamp",
|
|
1574
|
+
"primaryKey": false,
|
|
1575
|
+
"notNull": true
|
|
1576
|
+
},
|
|
1577
|
+
"ip_address": {
|
|
1578
|
+
"name": "ip_address",
|
|
1579
|
+
"type": "text",
|
|
1580
|
+
"primaryKey": false,
|
|
1581
|
+
"notNull": false
|
|
1582
|
+
},
|
|
1583
|
+
"user_agent": {
|
|
1584
|
+
"name": "user_agent",
|
|
1585
|
+
"type": "text",
|
|
1586
|
+
"primaryKey": false,
|
|
1587
|
+
"notNull": false
|
|
1588
|
+
},
|
|
1589
|
+
"user_id": {
|
|
1590
|
+
"name": "user_id",
|
|
1591
|
+
"type": "text",
|
|
1592
|
+
"primaryKey": false,
|
|
1593
|
+
"notNull": true
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
"indexes": {
|
|
1597
|
+
"session_userId_idx": {
|
|
1598
|
+
"name": "session_userId_idx",
|
|
1599
|
+
"columns": [
|
|
1600
|
+
{
|
|
1601
|
+
"expression": "user_id",
|
|
1602
|
+
"isExpression": false,
|
|
1603
|
+
"asc": true,
|
|
1604
|
+
"nulls": "last"
|
|
1605
|
+
}
|
|
1606
|
+
],
|
|
1607
|
+
"isUnique": false,
|
|
1608
|
+
"concurrently": false,
|
|
1609
|
+
"method": "btree",
|
|
1610
|
+
"with": {}
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
"foreignKeys": {
|
|
1614
|
+
"session_user_id_user_id_fk": {
|
|
1615
|
+
"name": "session_user_id_user_id_fk",
|
|
1616
|
+
"tableFrom": "session",
|
|
1617
|
+
"tableTo": "user",
|
|
1618
|
+
"columnsFrom": [
|
|
1619
|
+
"user_id"
|
|
1620
|
+
],
|
|
1621
|
+
"columnsTo": [
|
|
1622
|
+
"id"
|
|
1623
|
+
],
|
|
1624
|
+
"onDelete": "cascade",
|
|
1625
|
+
"onUpdate": "no action"
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
"compositePrimaryKeys": {},
|
|
1629
|
+
"uniqueConstraints": {
|
|
1630
|
+
"session_token_unique": {
|
|
1631
|
+
"name": "session_token_unique",
|
|
1632
|
+
"nullsNotDistinct": false,
|
|
1633
|
+
"columns": [
|
|
1634
|
+
"token"
|
|
1635
|
+
]
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
"policies": {},
|
|
1639
|
+
"checkConstraints": {},
|
|
1640
|
+
"isRLSEnabled": false
|
|
1641
|
+
},
|
|
1642
|
+
"public.user": {
|
|
1643
|
+
"name": "user",
|
|
1644
|
+
"schema": "",
|
|
1645
|
+
"columns": {
|
|
1646
|
+
"id": {
|
|
1647
|
+
"name": "id",
|
|
1648
|
+
"type": "text",
|
|
1649
|
+
"primaryKey": true,
|
|
1650
|
+
"notNull": true
|
|
1651
|
+
},
|
|
1652
|
+
"name": {
|
|
1653
|
+
"name": "name",
|
|
1654
|
+
"type": "text",
|
|
1655
|
+
"primaryKey": false,
|
|
1656
|
+
"notNull": true
|
|
1657
|
+
},
|
|
1658
|
+
"email": {
|
|
1659
|
+
"name": "email",
|
|
1660
|
+
"type": "text",
|
|
1661
|
+
"primaryKey": false,
|
|
1662
|
+
"notNull": true
|
|
1663
|
+
},
|
|
1664
|
+
"email_verified": {
|
|
1665
|
+
"name": "email_verified",
|
|
1666
|
+
"type": "boolean",
|
|
1667
|
+
"primaryKey": false,
|
|
1668
|
+
"notNull": true,
|
|
1669
|
+
"default": false
|
|
1670
|
+
},
|
|
1671
|
+
"image": {
|
|
1672
|
+
"name": "image",
|
|
1673
|
+
"type": "text",
|
|
1674
|
+
"primaryKey": false,
|
|
1675
|
+
"notNull": false
|
|
1676
|
+
},
|
|
1677
|
+
"created_at": {
|
|
1678
|
+
"name": "created_at",
|
|
1679
|
+
"type": "timestamp",
|
|
1680
|
+
"primaryKey": false,
|
|
1681
|
+
"notNull": true,
|
|
1682
|
+
"default": "now()"
|
|
1683
|
+
},
|
|
1684
|
+
"updated_at": {
|
|
1685
|
+
"name": "updated_at",
|
|
1686
|
+
"type": "timestamp",
|
|
1687
|
+
"primaryKey": false,
|
|
1688
|
+
"notNull": true,
|
|
1689
|
+
"default": "now()"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"indexes": {},
|
|
1693
|
+
"foreignKeys": {},
|
|
1694
|
+
"compositePrimaryKeys": {},
|
|
1695
|
+
"uniqueConstraints": {
|
|
1696
|
+
"user_email_unique": {
|
|
1697
|
+
"name": "user_email_unique",
|
|
1698
|
+
"nullsNotDistinct": false,
|
|
1699
|
+
"columns": [
|
|
1700
|
+
"email"
|
|
1701
|
+
]
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
"policies": {},
|
|
1705
|
+
"checkConstraints": {},
|
|
1706
|
+
"isRLSEnabled": false
|
|
1707
|
+
},
|
|
1708
|
+
"public.verification": {
|
|
1709
|
+
"name": "verification",
|
|
1710
|
+
"schema": "",
|
|
1711
|
+
"columns": {
|
|
1712
|
+
"id": {
|
|
1713
|
+
"name": "id",
|
|
1714
|
+
"type": "text",
|
|
1715
|
+
"primaryKey": true,
|
|
1716
|
+
"notNull": true
|
|
1717
|
+
},
|
|
1718
|
+
"identifier": {
|
|
1719
|
+
"name": "identifier",
|
|
1720
|
+
"type": "text",
|
|
1721
|
+
"primaryKey": false,
|
|
1722
|
+
"notNull": true
|
|
1723
|
+
},
|
|
1724
|
+
"value": {
|
|
1725
|
+
"name": "value",
|
|
1726
|
+
"type": "text",
|
|
1727
|
+
"primaryKey": false,
|
|
1728
|
+
"notNull": true
|
|
1729
|
+
},
|
|
1730
|
+
"expires_at": {
|
|
1731
|
+
"name": "expires_at",
|
|
1732
|
+
"type": "timestamp",
|
|
1733
|
+
"primaryKey": false,
|
|
1734
|
+
"notNull": true
|
|
1735
|
+
},
|
|
1736
|
+
"created_at": {
|
|
1737
|
+
"name": "created_at",
|
|
1738
|
+
"type": "timestamp",
|
|
1739
|
+
"primaryKey": false,
|
|
1740
|
+
"notNull": true,
|
|
1741
|
+
"default": "now()"
|
|
1742
|
+
},
|
|
1743
|
+
"updated_at": {
|
|
1744
|
+
"name": "updated_at",
|
|
1745
|
+
"type": "timestamp",
|
|
1746
|
+
"primaryKey": false,
|
|
1747
|
+
"notNull": true,
|
|
1748
|
+
"default": "now()"
|
|
1749
|
+
}
|
|
1750
|
+
},
|
|
1751
|
+
"indexes": {
|
|
1752
|
+
"verification_identifier_idx": {
|
|
1753
|
+
"name": "verification_identifier_idx",
|
|
1754
|
+
"columns": [
|
|
1755
|
+
{
|
|
1756
|
+
"expression": "identifier",
|
|
1757
|
+
"isExpression": false,
|
|
1758
|
+
"asc": true,
|
|
1759
|
+
"nulls": "last"
|
|
1760
|
+
}
|
|
1761
|
+
],
|
|
1762
|
+
"isUnique": false,
|
|
1763
|
+
"concurrently": false,
|
|
1764
|
+
"method": "btree",
|
|
1765
|
+
"with": {}
|
|
1766
|
+
}
|
|
1767
|
+
},
|
|
1768
|
+
"foreignKeys": {},
|
|
1769
|
+
"compositePrimaryKeys": {},
|
|
1770
|
+
"uniqueConstraints": {},
|
|
1771
|
+
"policies": {},
|
|
1772
|
+
"checkConstraints": {},
|
|
1773
|
+
"isRLSEnabled": false
|
|
1774
|
+
}
|
|
1775
|
+
},
|
|
1776
|
+
"enums": {},
|
|
1777
|
+
"schemas": {},
|
|
1778
|
+
"sequences": {},
|
|
1779
|
+
"roles": {},
|
|
1780
|
+
"policies": {},
|
|
1781
|
+
"views": {},
|
|
1782
|
+
"_meta": {
|
|
1783
|
+
"columns": {},
|
|
1784
|
+
"schemas": {},
|
|
1785
|
+
"tables": {}
|
|
1786
|
+
}
|
|
1787
|
+
}
|