mirror of
https://github.com/zoriya/Aeris.git
synced 2026-08-16 02:45:10 +00:00
feat: update sql database init
This commit is contained in:
@@ -12,6 +12,10 @@ CREATE TABLE IF NOT EXISTS pipelines (
|
||||
type VARCHAR(255) NOT NULL,
|
||||
params JSONB NOT NULL,
|
||||
user_id INTEGER NOT NULL,
|
||||
enabled BOOLEAN NOT NULL,
|
||||
error TEXT NOT NULL,
|
||||
trigger_count INTEGER NOT NULL,
|
||||
last_trigger TIMESTAMP NOT NULL,
|
||||
CONSTRAINT fk_user
|
||||
FOREIGN KEY (user_id)
|
||||
REFERENCES users(id)
|
||||
|
||||
Reference in New Issue
Block a user