Varakh
3b0603ae17
Some checks failed
/ build (push) Has been cancelled
- only Postgres is supported from now on to reduce maintenance - enables building main upda server application for all platforms - instead of using ORM auto migrate for database schema creation, switch to proper migration framework utilizing flexible steps and plain sql files - library updates Reviewed-on: #52 Co-authored-by: Varakh <varakh@varakh.de> Co-committed-by: Varakh <varakh@varakh.de>
16 lines
699 B
SQL
16 lines
699 B
SQL
create table if not exists action_invocations
|
|
(
|
|
id uuid not null
|
|
constraint uni_action_invocations_id primary key,
|
|
retry_count bigint default 1 not null,
|
|
state text not null,
|
|
message text,
|
|
event_id uuid not null
|
|
constraint fk_action_invocations_event references events on update cascade on delete cascade,
|
|
action_id uuid not null
|
|
constraint fk_action_invocations_action references actions on update cascade on delete cascade,
|
|
created_at timestamp with time zone not null,
|
|
updated_at timestamp with time zone not null
|
|
);
|
|
|
|
commit;
|