mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
fix: add missing cols to event actions
This commit is contained in:
parent
419a8c51fe
commit
5c3228473c
@ -6,9 +6,11 @@ exports.up = function (db, cb) {
|
|||||||
CREATE TABLE IF NOT EXISTS event_actions
|
CREATE TABLE IF NOT EXISTS event_actions
|
||||||
(
|
(
|
||||||
id SERIAL PRIMARY KEY NOT NULL,
|
id SERIAL PRIMARY KEY NOT NULL,
|
||||||
|
enabled BOOLEAN DEFAULT true NOT NULL,
|
||||||
event TEXT NOT NULL,
|
event TEXT NOT NULL,
|
||||||
action TEXT NOT NULL,
|
action TEXT NOT NULL,
|
||||||
parameters JSONB NOT NULL DEFAULT '{}'::jsonb
|
parameters JSONB NOT NULL DEFAULT '{}'::jsonb,
|
||||||
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now()
|
||||||
);
|
);
|
||||||
`,
|
`,
|
||||||
cb,
|
cb,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user