feat: Pipeline created on post request to /workflow

This commit is contained in:
Bluub
2022-02-09 16:24:10 +01:00
parent aff1fa8f1d
commit 9168a65301
5 changed files with 67 additions and 14 deletions
+7
View File
@@ -3,4 +3,11 @@ CREATE TABLE IF NOT EXISTS users (
username VARCHAR(255) UNIQUE NOT NULL,
password VARCHAR(255) NOT NULL,
slug VARCHAR(255) UNIQUE NOT NULL
);
CREATE TABLE IF NOT EXISTS pipelines (
id SERIAL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
type VARCHAR(255) NOT NULL,
params JSONB NOT NULL
);