Skip to content

Commit 101faa7

Browse files
committed
update migrations to make table comments match expected
1 parent c28526c commit 101faa7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

deployment/hasura/migrations/Aerie/31_action_versioning/down.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ from (
2222
) v
2323
where ad.id = v.action_definition_id;
2424

25+
comment on table actions.action_definition is e''
26+
'User provided Javascript code that will be invoked by Aerie actions and ran on an Aerie server.';
27+
2528
-- Make action_file_id not null
2629
alter table actions.action_definition
2730
alter column action_file_id set not null;

deployment/hasura/migrations/Aerie/31_action_versioning/up.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,13 @@ insert into actions.action_definition_version (action_definition_id, action_file
5959
select id, action_file_id, parameter_schema, settings_schema, owner
6060
from actions.action_definition;
6161

62-
-- 4. Add archived column to action_definition
62+
-- 4. Add archived column to action_definition & update description
6363
alter table actions.action_definition
6464
add column archived boolean not null default false;
6565

66+
comment on table actions.action_definition is e''
67+
'Unversioned user-provided information about a SeqDev action.';
68+
6669
-- 5. Add action_definition_revision to action_run backfill existing runs to 0
6770
-- no default - future inserts w/o explicit revision are auto-set before insert by action_run_set_default_revision
6871
alter table actions.action_run

0 commit comments

Comments
 (0)