mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Con't: store actions as a json in db
This commit is contained in:
parent
845e932d93
commit
8008720712
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue