mirror of
https://github.com/zoriya/Aeris.git
synced 2026-08-16 02:45:10 +00:00
feat: workflows route for user
This commit is contained in:
+6
-2
@@ -10,7 +10,11 @@ CREATE TABLE IF NOT EXISTS pipelines (
|
||||
id SERIAL PRIMARY KEY,
|
||||
name VARCHAR(255) NOT NULL,
|
||||
type VARCHAR(255) NOT NULL,
|
||||
params JSONB NOT NULL
|
||||
params JSONB NOT NULL,
|
||||
user_id INTEGER NOT NULL,
|
||||
CONSTRAINT fk_user
|
||||
FOREIGN KEY (user_id)
|
||||
REFERENCES users(id)
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS reactions (
|
||||
@@ -22,4 +26,4 @@ CREATE TABLE IF NOT EXISTS reactions (
|
||||
CONSTRAINT fk_pipeline
|
||||
FOREIGN KEY (pipeline_id)
|
||||
REFERENCES pipelines(id)
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user