Added pipeline and result to runs table

This commit is contained in:
2023-01-14 00:29:32 -07:00
parent 1acd9ae025
commit 1a9f0415d0
+6 -1
View File
@@ -111,8 +111,13 @@ CREATE TABLE runners (
);
CREATE TABLE runs (
id SERIAL PRIMARY KEY
id SERIAL PRIMARY KEY,
pipeline SERIAL,
result BOOLEAN NOT NULL,
CONSTRAINT fk_pipeline
FOREIGN KEY(pipeline)
REFERENCES pipelines(id)
);
CREATE TABLE command_executions (