diff --git a/src/migrations/20231205155331-event-actions.js b/src/migrations/20231205155331-event-actions.js index 372ab2bb9c..ae37f8362d 100644 --- a/src/migrations/20231205155331-event-actions.js +++ b/src/migrations/20231205155331-event-actions.js @@ -6,9 +6,11 @@ exports.up = function (db, cb) { CREATE TABLE IF NOT EXISTS event_actions ( id SERIAL PRIMARY KEY NOT NULL, + enabled BOOLEAN DEFAULT true NOT NULL, event 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,