mirror of
https://github.com/zoriya/Aeris.git
synced 2026-08-16 02:45:10 +00:00
feat: post on workflow working to create pipeline
This commit is contained in:
@@ -10,4 +10,15 @@ CREATE TABLE IF NOT EXISTS pipelines (
|
||||
name VARCHAR(255) NOT NULL,
|
||||
type VARCHAR(255) NOT NULL,
|
||||
params JSONB NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS reactions (
|
||||
id SERIAL PRIMARY KEY,
|
||||
type VARCHAR(255) NOT NULL,
|
||||
params JSONB NOT NULL,
|
||||
pipeline_id INTEGER NOT NULL,
|
||||
react_order INTEGER NOT NULL,
|
||||
CONSTRAINT fk_pipeline
|
||||
FOREIGN KEY (pipeline_id)
|
||||
REFERENCES pipelines(id)
|
||||
);
|
||||
Reference in New Issue
Block a user