diff --git a/packages/db/migrations/0099.do.rules.sql b/packages/db/migrations/0099.do.rules.sql index 9ddcd50f9..4bf24e07f 100755 --- a/packages/db/migrations/0099.do.rules.sql +++ b/packages/db/migrations/0099.do.rules.sql @@ -9,7 +9,7 @@ CREATE TABLE omnivore.rules ( user_id uuid NOT NULL REFERENCES omnivore.user ON DELETE CASCADE, description text, query text NOT NULL, - actions text[] NOT NULL, + actions json NOT NULL, -- array of actions of type {type: 'action_type', params: [action_params]} enabled boolean NOT NULL DEFAULT true, created_at timestamptz NOT NULL DEFAULT current_timestamp, updated_at timestamptz NOT NULL DEFAULT current_timestamp