@ucdjs/pipelines-server 0.0.1-beta.3 → 0.0.1-beta.6
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/dist/client/assets/badge-DpfYXzsc.js +1 -0
- package/dist/client/assets/button-D8TNeETo.js +1 -0
- package/dist/client/assets/card-4nTswg_n.js +1 -0
- package/dist/client/assets/{code.lazy-FGQTh0m_.js → code.lazy-Hk8YeOZq.js} +6 -6
- package/dist/client/assets/createBaseUIEventDetails-eG8mNZ45.js +1 -0
- package/dist/client/assets/createLucideIcon-DqT5FQwf.js +1 -0
- package/dist/client/assets/dist-DOhv2m1Z.js +1 -0
- package/dist/client/assets/file-code-sFotPMp6.js +1 -0
- package/dist/client/assets/graph.lazy-BSNr7S9S.js +1 -0
- package/dist/client/assets/graph.lazy-j3mLiSDD.js +1 -0
- package/dist/client/assets/graphs.lazy-BesTMfiu.js +1 -0
- package/dist/client/assets/index-9D_zdG_Y.css +2 -0
- package/dist/client/assets/index-DvzFBIUy.js +26 -0
- package/dist/client/assets/index.lazy-CYDCkmZn.js +1 -0
- package/dist/client/assets/index.lazy-Cyazp84x.js +1 -0
- package/dist/client/assets/index.lazy-DlzPp9kk.js +1 -0
- package/dist/client/assets/index.lazy-IFnMjMMx.js +1 -0
- package/dist/client/assets/inspect.lazy-CFnVtBAm.js +1 -0
- package/dist/client/assets/loader-circle-B23ONZKS.js +1 -0
- package/dist/client/assets/pipeline-command-palette-D5eOYOY2.js +1 -0
- package/dist/client/assets/pipeline-graph-CjR9n8rb.js +7 -0
- package/dist/client/assets/play-D_JVLdxR.js +1 -0
- package/dist/client/assets/react-dom-nSF78UiM.js +1 -0
- package/dist/client/assets/route.lazy-DFXW1vf2.js +1 -0
- package/dist/client/assets/route.lazy-IMrNfqZN.js +1 -0
- package/dist/client/assets/status-icon-DwAuzQ-Z.js +1 -0
- package/dist/client/assets/table-B_O6sE70.js +1 -0
- package/dist/client/assets/use-execute-BFp3EN62.js +1 -0
- package/dist/client/assets/use-pipeline-versions-B4Bj4BNC.js +1 -0
- package/dist/client/assets/useIsoLayoutEffect-Dm7lmL2S.js +1 -0
- package/dist/client/assets/x-DsbJUv53.js +12 -0
- package/dist/client/index.html +9 -2
- package/dist/server/app.d.ts +21 -0
- package/dist/server/app.js +196 -105
- package/dist/server/code.d.ts +5 -0
- package/dist/server/db/index.d.ts +10 -0
- package/dist/server/db/schema.d.ts +562 -0
- package/dist/server/lib/execution-logs.d.ts +27 -0
- package/dist/server/lib/files.d.ts +38 -0
- package/dist/server/lib/ids.d.ts +5 -0
- package/dist/server/lib/loader.d.ts +2 -0
- package/dist/server/lib/log-capture.d.ts +6 -0
- package/dist/server/lib/resolve.d.ts +1 -0
- package/dist/server/migrations/0000_amazing_kang.sql +20 -0
- package/dist/server/migrations/0001_wandering_wind_dancer.sql +10 -0
- package/dist/server/migrations/0002_lively_maestro.sql +18 -0
- package/dist/server/migrations/0003_common_scarlet_witch.sql +54 -0
- package/dist/server/migrations/meta/0000_snapshot.json +150 -0
- package/dist/server/migrations/meta/0001_snapshot.json +223 -0
- package/dist/server/migrations/meta/0002_snapshot.json +325 -0
- package/dist/server/migrations/meta/0003_snapshot.json +365 -0
- package/dist/server/migrations/meta/_journal.json +34 -0
- package/dist/server/routes/index.d.ts +7 -0
- package/dist/server/routes/pipelines.events.d.ts +2 -0
- package/dist/server/routes/pipelines.execution.d.ts +2 -0
- package/dist/server/routes/pipelines.file.d.ts +2 -0
- package/dist/server/routes/pipelines.graph.d.ts +2 -0
- package/dist/server/routes/pipelines.index.d.ts +2 -0
- package/dist/server/routes/pipelines.logs.d.ts +2 -0
- package/dist/server/routes/pipelines.pipeline.d.ts +2 -0
- package/dist/server/workspace.d.ts +17 -0
- package/package.json +25 -20
- package/dist/client/assets/badge-CiZ9XGQk.js +0 -1
- package/dist/client/assets/card-BlDtnoJE.js +0 -1
- package/dist/client/assets/file-code-5UzxVDjG.js +0 -1
- package/dist/client/assets/graph.lazy-BOYYfhw3.js +0 -1
- package/dist/client/assets/graph.lazy-DA9DvkOv.js +0 -1
- package/dist/client/assets/graphs.lazy-B126tNcm.js +0 -1
- package/dist/client/assets/index-CM5XQ164.js +0 -37
- package/dist/client/assets/index-DMk-WqWb.css +0 -2
- package/dist/client/assets/index.lazy-CU14Wam7.js +0 -1
- package/dist/client/assets/index.lazy-Cb2iPSue.js +0 -1
- package/dist/client/assets/index.lazy-wtKmX-2H.js +0 -1
- package/dist/client/assets/index.lazy-y07R4t6D.js +0 -1
- package/dist/client/assets/inspect.lazy-BYA5YEbr.js +0 -1
- package/dist/client/assets/loader-circle-BY1Dugig.js +0 -1
- package/dist/client/assets/pipeline-command-palette-CWHY1w53.js +0 -45
- package/dist/client/assets/pipeline-graph-CDObZuGJ.js +0 -7
- package/dist/client/assets/play-B6p-hHI7.js +0 -1
- package/dist/client/assets/route.lazy-D79_-rW6.js +0 -1
- package/dist/client/assets/route.lazy-eVSF2dsv.js +0 -1
- package/dist/client/assets/status-icon-NVeRT4ag.js +0 -1
- package/dist/client/assets/table-Cbx6lsBL.js +0 -1
- package/dist/client/assets/use-execute-CG1fzzQp.js +0 -1
- package/dist/client/assets/use-pipeline-versions-Dg2J_cPs.js +0 -1
- /package/dist/client/assets/{javascript-DKcGLuub.js → javascript-UW4R5q0N.js} +0 -0
- /package/dist/client/assets/{json-CgREIYS1.js → json-Bq05x4Q-.js} +0 -0
- /package/dist/client/assets/{typescript-xi0cSHCO.js → typescript-GFMdcsgQ.js} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
CREATE TABLE `execution_logs` (
|
|
2
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
+
`execution_id` text NOT NULL,
|
|
4
|
+
`span_id` text,
|
|
5
|
+
`stream` text NOT NULL,
|
|
6
|
+
`message` text NOT NULL,
|
|
7
|
+
`timestamp` integer NOT NULL,
|
|
8
|
+
`payload` text,
|
|
9
|
+
FOREIGN KEY (`execution_id`) REFERENCES `executions`(`id`) ON UPDATE no action ON DELETE cascade
|
|
10
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
CREATE TABLE `workspaces` (
|
|
2
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
+
`root_path` text,
|
|
4
|
+
`created_at` integer NOT NULL,
|
|
5
|
+
`updated_at` integer NOT NULL
|
|
6
|
+
);
|
|
7
|
+
--> statement-breakpoint
|
|
8
|
+
INSERT INTO `workspaces` (`id`, `root_path`, `created_at`, `updated_at`)
|
|
9
|
+
VALUES ('legacy', NULL, CAST(strftime('%s','now') AS integer) * 1000, CAST(strftime('%s','now') AS integer) * 1000);
|
|
10
|
+
--> statement-breakpoint
|
|
11
|
+
ALTER TABLE `events` ADD `workspace_id` text NOT NULL DEFAULT 'legacy';--> statement-breakpoint
|
|
12
|
+
CREATE INDEX `events_workspace_execution_idx` ON `events` (`workspace_id`,`execution_id`);--> statement-breakpoint
|
|
13
|
+
ALTER TABLE `execution_logs` ADD `workspace_id` text NOT NULL DEFAULT 'legacy';--> statement-breakpoint
|
|
14
|
+
CREATE INDEX `execution_logs_workspace_execution_idx` ON `execution_logs` (`workspace_id`,`execution_id`);--> statement-breakpoint
|
|
15
|
+
CREATE INDEX `execution_logs_workspace_timestamp_idx` ON `execution_logs` (`workspace_id`,`timestamp`);--> statement-breakpoint
|
|
16
|
+
ALTER TABLE `executions` ADD `workspace_id` text NOT NULL DEFAULT 'legacy';--> statement-breakpoint
|
|
17
|
+
CREATE INDEX `executions_workspace_pipeline_idx` ON `executions` (`workspace_id`,`pipeline_id`);--> statement-breakpoint
|
|
18
|
+
CREATE INDEX `executions_workspace_started_idx` ON `executions` (`workspace_id`,`started_at`);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
PRAGMA foreign_keys=OFF;--> statement-breakpoint
|
|
2
|
+
CREATE TABLE `__new_events` (
|
|
3
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
4
|
+
`workspace_id` text NOT NULL,
|
|
5
|
+
`execution_id` text NOT NULL,
|
|
6
|
+
`type` text NOT NULL,
|
|
7
|
+
`timestamp` integer NOT NULL,
|
|
8
|
+
`data` text,
|
|
9
|
+
FOREIGN KEY (`workspace_id`) REFERENCES `workspaces`(`id`) ON UPDATE no action ON DELETE cascade,
|
|
10
|
+
FOREIGN KEY (`execution_id`) REFERENCES `executions`(`id`) ON UPDATE no action ON DELETE cascade
|
|
11
|
+
);
|
|
12
|
+
--> statement-breakpoint
|
|
13
|
+
INSERT INTO `__new_events`("id", "workspace_id", "execution_id", "type", "timestamp", "data") SELECT "id", "workspace_id", "execution_id", "type", "timestamp", "data" FROM `events`;--> statement-breakpoint
|
|
14
|
+
DROP TABLE `events`;--> statement-breakpoint
|
|
15
|
+
ALTER TABLE `__new_events` RENAME TO `events`;--> statement-breakpoint
|
|
16
|
+
PRAGMA foreign_keys=ON;--> statement-breakpoint
|
|
17
|
+
CREATE INDEX `events_workspace_execution_idx` ON `events` (`workspace_id`,`execution_id`);--> statement-breakpoint
|
|
18
|
+
CREATE TABLE `__new_execution_logs` (
|
|
19
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
20
|
+
`workspace_id` text NOT NULL,
|
|
21
|
+
`execution_id` text NOT NULL,
|
|
22
|
+
`span_id` text,
|
|
23
|
+
`stream` text NOT NULL,
|
|
24
|
+
`message` text NOT NULL,
|
|
25
|
+
`timestamp` integer NOT NULL,
|
|
26
|
+
`payload` text,
|
|
27
|
+
FOREIGN KEY (`workspace_id`) REFERENCES `workspaces`(`id`) ON UPDATE no action ON DELETE cascade,
|
|
28
|
+
FOREIGN KEY (`execution_id`) REFERENCES `executions`(`id`) ON UPDATE no action ON DELETE cascade
|
|
29
|
+
);
|
|
30
|
+
--> statement-breakpoint
|
|
31
|
+
INSERT INTO `__new_execution_logs`("id", "workspace_id", "execution_id", "span_id", "stream", "message", "timestamp", "payload") SELECT "id", "workspace_id", "execution_id", "span_id", "stream", "message", "timestamp", "payload" FROM `execution_logs`;--> statement-breakpoint
|
|
32
|
+
DROP TABLE `execution_logs`;--> statement-breakpoint
|
|
33
|
+
ALTER TABLE `__new_execution_logs` RENAME TO `execution_logs`;--> statement-breakpoint
|
|
34
|
+
CREATE INDEX `execution_logs_workspace_execution_idx` ON `execution_logs` (`workspace_id`,`execution_id`);--> statement-breakpoint
|
|
35
|
+
CREATE INDEX `execution_logs_workspace_timestamp_idx` ON `execution_logs` (`workspace_id`,`timestamp`);--> statement-breakpoint
|
|
36
|
+
CREATE TABLE `__new_executions` (
|
|
37
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
38
|
+
`workspace_id` text NOT NULL,
|
|
39
|
+
`pipeline_id` text NOT NULL,
|
|
40
|
+
`status` text NOT NULL,
|
|
41
|
+
`started_at` integer NOT NULL,
|
|
42
|
+
`completed_at` integer,
|
|
43
|
+
`versions` text,
|
|
44
|
+
`summary` text,
|
|
45
|
+
`graph` text,
|
|
46
|
+
`error` text,
|
|
47
|
+
FOREIGN KEY (`workspace_id`) REFERENCES `workspaces`(`id`) ON UPDATE no action ON DELETE cascade
|
|
48
|
+
);
|
|
49
|
+
--> statement-breakpoint
|
|
50
|
+
INSERT INTO `__new_executions`("id", "workspace_id", "pipeline_id", "status", "started_at", "completed_at", "versions", "summary", "graph", "error") SELECT "id", "workspace_id", "pipeline_id", "status", "started_at", "completed_at", "versions", "summary", "graph", "error" FROM `executions`;--> statement-breakpoint
|
|
51
|
+
DROP TABLE `executions`;--> statement-breakpoint
|
|
52
|
+
ALTER TABLE `__new_executions` RENAME TO `executions`;--> statement-breakpoint
|
|
53
|
+
CREATE INDEX `executions_workspace_pipeline_idx` ON `executions` (`workspace_id`,`pipeline_id`);--> statement-breakpoint
|
|
54
|
+
CREATE INDEX `executions_workspace_started_idx` ON `executions` (`workspace_id`,`started_at`);
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "c007ad29-ee6b-4b0a-a33f-f2aac3b46262",
|
|
5
|
+
"prevId": "00000000-0000-0000-0000-000000000000",
|
|
6
|
+
"tables": {
|
|
7
|
+
"events": {
|
|
8
|
+
"name": "events",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"execution_id": {
|
|
18
|
+
"name": "execution_id",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"type": {
|
|
25
|
+
"name": "type",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
},
|
|
31
|
+
"timestamp": {
|
|
32
|
+
"name": "timestamp",
|
|
33
|
+
"type": "integer",
|
|
34
|
+
"primaryKey": false,
|
|
35
|
+
"notNull": true,
|
|
36
|
+
"autoincrement": false
|
|
37
|
+
},
|
|
38
|
+
"data": {
|
|
39
|
+
"name": "data",
|
|
40
|
+
"type": "text",
|
|
41
|
+
"primaryKey": false,
|
|
42
|
+
"notNull": false,
|
|
43
|
+
"autoincrement": false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"indexes": {},
|
|
47
|
+
"foreignKeys": {
|
|
48
|
+
"events_execution_id_executions_id_fk": {
|
|
49
|
+
"name": "events_execution_id_executions_id_fk",
|
|
50
|
+
"tableFrom": "events",
|
|
51
|
+
"tableTo": "executions",
|
|
52
|
+
"columnsFrom": [
|
|
53
|
+
"execution_id"
|
|
54
|
+
],
|
|
55
|
+
"columnsTo": [
|
|
56
|
+
"id"
|
|
57
|
+
],
|
|
58
|
+
"onDelete": "cascade",
|
|
59
|
+
"onUpdate": "no action"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"compositePrimaryKeys": {},
|
|
63
|
+
"uniqueConstraints": {},
|
|
64
|
+
"checkConstraints": {}
|
|
65
|
+
},
|
|
66
|
+
"executions": {
|
|
67
|
+
"name": "executions",
|
|
68
|
+
"columns": {
|
|
69
|
+
"id": {
|
|
70
|
+
"name": "id",
|
|
71
|
+
"type": "text",
|
|
72
|
+
"primaryKey": true,
|
|
73
|
+
"notNull": true,
|
|
74
|
+
"autoincrement": false
|
|
75
|
+
},
|
|
76
|
+
"pipeline_id": {
|
|
77
|
+
"name": "pipeline_id",
|
|
78
|
+
"type": "text",
|
|
79
|
+
"primaryKey": false,
|
|
80
|
+
"notNull": true,
|
|
81
|
+
"autoincrement": false
|
|
82
|
+
},
|
|
83
|
+
"status": {
|
|
84
|
+
"name": "status",
|
|
85
|
+
"type": "text",
|
|
86
|
+
"primaryKey": false,
|
|
87
|
+
"notNull": true,
|
|
88
|
+
"autoincrement": false
|
|
89
|
+
},
|
|
90
|
+
"started_at": {
|
|
91
|
+
"name": "started_at",
|
|
92
|
+
"type": "integer",
|
|
93
|
+
"primaryKey": false,
|
|
94
|
+
"notNull": true,
|
|
95
|
+
"autoincrement": false
|
|
96
|
+
},
|
|
97
|
+
"completed_at": {
|
|
98
|
+
"name": "completed_at",
|
|
99
|
+
"type": "integer",
|
|
100
|
+
"primaryKey": false,
|
|
101
|
+
"notNull": false,
|
|
102
|
+
"autoincrement": false
|
|
103
|
+
},
|
|
104
|
+
"versions": {
|
|
105
|
+
"name": "versions",
|
|
106
|
+
"type": "text",
|
|
107
|
+
"primaryKey": false,
|
|
108
|
+
"notNull": false,
|
|
109
|
+
"autoincrement": false
|
|
110
|
+
},
|
|
111
|
+
"summary": {
|
|
112
|
+
"name": "summary",
|
|
113
|
+
"type": "text",
|
|
114
|
+
"primaryKey": false,
|
|
115
|
+
"notNull": false,
|
|
116
|
+
"autoincrement": false
|
|
117
|
+
},
|
|
118
|
+
"graph": {
|
|
119
|
+
"name": "graph",
|
|
120
|
+
"type": "text",
|
|
121
|
+
"primaryKey": false,
|
|
122
|
+
"notNull": false,
|
|
123
|
+
"autoincrement": false
|
|
124
|
+
},
|
|
125
|
+
"error": {
|
|
126
|
+
"name": "error",
|
|
127
|
+
"type": "text",
|
|
128
|
+
"primaryKey": false,
|
|
129
|
+
"notNull": false,
|
|
130
|
+
"autoincrement": false
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"indexes": {},
|
|
134
|
+
"foreignKeys": {},
|
|
135
|
+
"compositePrimaryKeys": {},
|
|
136
|
+
"uniqueConstraints": {},
|
|
137
|
+
"checkConstraints": {}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"views": {},
|
|
141
|
+
"enums": {},
|
|
142
|
+
"_meta": {
|
|
143
|
+
"schemas": {},
|
|
144
|
+
"tables": {},
|
|
145
|
+
"columns": {}
|
|
146
|
+
},
|
|
147
|
+
"internal": {
|
|
148
|
+
"indexes": {}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "14b208cf-7c14-45c8-9fd2-d4f746a90fd3",
|
|
5
|
+
"prevId": "c007ad29-ee6b-4b0a-a33f-f2aac3b46262",
|
|
6
|
+
"tables": {
|
|
7
|
+
"events": {
|
|
8
|
+
"name": "events",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"execution_id": {
|
|
18
|
+
"name": "execution_id",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"type": {
|
|
25
|
+
"name": "type",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
},
|
|
31
|
+
"timestamp": {
|
|
32
|
+
"name": "timestamp",
|
|
33
|
+
"type": "integer",
|
|
34
|
+
"primaryKey": false,
|
|
35
|
+
"notNull": true,
|
|
36
|
+
"autoincrement": false
|
|
37
|
+
},
|
|
38
|
+
"data": {
|
|
39
|
+
"name": "data",
|
|
40
|
+
"type": "text",
|
|
41
|
+
"primaryKey": false,
|
|
42
|
+
"notNull": false,
|
|
43
|
+
"autoincrement": false
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"indexes": {},
|
|
47
|
+
"foreignKeys": {
|
|
48
|
+
"events_execution_id_executions_id_fk": {
|
|
49
|
+
"name": "events_execution_id_executions_id_fk",
|
|
50
|
+
"tableFrom": "events",
|
|
51
|
+
"tableTo": "executions",
|
|
52
|
+
"columnsFrom": [
|
|
53
|
+
"execution_id"
|
|
54
|
+
],
|
|
55
|
+
"columnsTo": [
|
|
56
|
+
"id"
|
|
57
|
+
],
|
|
58
|
+
"onDelete": "cascade",
|
|
59
|
+
"onUpdate": "no action"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"compositePrimaryKeys": {},
|
|
63
|
+
"uniqueConstraints": {},
|
|
64
|
+
"checkConstraints": {}
|
|
65
|
+
},
|
|
66
|
+
"execution_logs": {
|
|
67
|
+
"name": "execution_logs",
|
|
68
|
+
"columns": {
|
|
69
|
+
"id": {
|
|
70
|
+
"name": "id",
|
|
71
|
+
"type": "text",
|
|
72
|
+
"primaryKey": true,
|
|
73
|
+
"notNull": true,
|
|
74
|
+
"autoincrement": false
|
|
75
|
+
},
|
|
76
|
+
"execution_id": {
|
|
77
|
+
"name": "execution_id",
|
|
78
|
+
"type": "text",
|
|
79
|
+
"primaryKey": false,
|
|
80
|
+
"notNull": true,
|
|
81
|
+
"autoincrement": false
|
|
82
|
+
},
|
|
83
|
+
"span_id": {
|
|
84
|
+
"name": "span_id",
|
|
85
|
+
"type": "text",
|
|
86
|
+
"primaryKey": false,
|
|
87
|
+
"notNull": false,
|
|
88
|
+
"autoincrement": false
|
|
89
|
+
},
|
|
90
|
+
"stream": {
|
|
91
|
+
"name": "stream",
|
|
92
|
+
"type": "text",
|
|
93
|
+
"primaryKey": false,
|
|
94
|
+
"notNull": true,
|
|
95
|
+
"autoincrement": false
|
|
96
|
+
},
|
|
97
|
+
"message": {
|
|
98
|
+
"name": "message",
|
|
99
|
+
"type": "text",
|
|
100
|
+
"primaryKey": false,
|
|
101
|
+
"notNull": true,
|
|
102
|
+
"autoincrement": false
|
|
103
|
+
},
|
|
104
|
+
"timestamp": {
|
|
105
|
+
"name": "timestamp",
|
|
106
|
+
"type": "integer",
|
|
107
|
+
"primaryKey": false,
|
|
108
|
+
"notNull": true,
|
|
109
|
+
"autoincrement": false
|
|
110
|
+
},
|
|
111
|
+
"payload": {
|
|
112
|
+
"name": "payload",
|
|
113
|
+
"type": "text",
|
|
114
|
+
"primaryKey": false,
|
|
115
|
+
"notNull": false,
|
|
116
|
+
"autoincrement": false
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"indexes": {},
|
|
120
|
+
"foreignKeys": {
|
|
121
|
+
"execution_logs_execution_id_executions_id_fk": {
|
|
122
|
+
"name": "execution_logs_execution_id_executions_id_fk",
|
|
123
|
+
"tableFrom": "execution_logs",
|
|
124
|
+
"tableTo": "executions",
|
|
125
|
+
"columnsFrom": [
|
|
126
|
+
"execution_id"
|
|
127
|
+
],
|
|
128
|
+
"columnsTo": [
|
|
129
|
+
"id"
|
|
130
|
+
],
|
|
131
|
+
"onDelete": "cascade",
|
|
132
|
+
"onUpdate": "no action"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"compositePrimaryKeys": {},
|
|
136
|
+
"uniqueConstraints": {},
|
|
137
|
+
"checkConstraints": {}
|
|
138
|
+
},
|
|
139
|
+
"executions": {
|
|
140
|
+
"name": "executions",
|
|
141
|
+
"columns": {
|
|
142
|
+
"id": {
|
|
143
|
+
"name": "id",
|
|
144
|
+
"type": "text",
|
|
145
|
+
"primaryKey": true,
|
|
146
|
+
"notNull": true,
|
|
147
|
+
"autoincrement": false
|
|
148
|
+
},
|
|
149
|
+
"pipeline_id": {
|
|
150
|
+
"name": "pipeline_id",
|
|
151
|
+
"type": "text",
|
|
152
|
+
"primaryKey": false,
|
|
153
|
+
"notNull": true,
|
|
154
|
+
"autoincrement": false
|
|
155
|
+
},
|
|
156
|
+
"status": {
|
|
157
|
+
"name": "status",
|
|
158
|
+
"type": "text",
|
|
159
|
+
"primaryKey": false,
|
|
160
|
+
"notNull": true,
|
|
161
|
+
"autoincrement": false
|
|
162
|
+
},
|
|
163
|
+
"started_at": {
|
|
164
|
+
"name": "started_at",
|
|
165
|
+
"type": "integer",
|
|
166
|
+
"primaryKey": false,
|
|
167
|
+
"notNull": true,
|
|
168
|
+
"autoincrement": false
|
|
169
|
+
},
|
|
170
|
+
"completed_at": {
|
|
171
|
+
"name": "completed_at",
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"primaryKey": false,
|
|
174
|
+
"notNull": false,
|
|
175
|
+
"autoincrement": false
|
|
176
|
+
},
|
|
177
|
+
"versions": {
|
|
178
|
+
"name": "versions",
|
|
179
|
+
"type": "text",
|
|
180
|
+
"primaryKey": false,
|
|
181
|
+
"notNull": false,
|
|
182
|
+
"autoincrement": false
|
|
183
|
+
},
|
|
184
|
+
"summary": {
|
|
185
|
+
"name": "summary",
|
|
186
|
+
"type": "text",
|
|
187
|
+
"primaryKey": false,
|
|
188
|
+
"notNull": false,
|
|
189
|
+
"autoincrement": false
|
|
190
|
+
},
|
|
191
|
+
"graph": {
|
|
192
|
+
"name": "graph",
|
|
193
|
+
"type": "text",
|
|
194
|
+
"primaryKey": false,
|
|
195
|
+
"notNull": false,
|
|
196
|
+
"autoincrement": false
|
|
197
|
+
},
|
|
198
|
+
"error": {
|
|
199
|
+
"name": "error",
|
|
200
|
+
"type": "text",
|
|
201
|
+
"primaryKey": false,
|
|
202
|
+
"notNull": false,
|
|
203
|
+
"autoincrement": false
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"indexes": {},
|
|
207
|
+
"foreignKeys": {},
|
|
208
|
+
"compositePrimaryKeys": {},
|
|
209
|
+
"uniqueConstraints": {},
|
|
210
|
+
"checkConstraints": {}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"views": {},
|
|
214
|
+
"enums": {},
|
|
215
|
+
"_meta": {
|
|
216
|
+
"schemas": {},
|
|
217
|
+
"tables": {},
|
|
218
|
+
"columns": {}
|
|
219
|
+
},
|
|
220
|
+
"internal": {
|
|
221
|
+
"indexes": {}
|
|
222
|
+
}
|
|
223
|
+
}
|