Skip to content

Commit

Permalink
Removed comment is null from extensions down.sql and removed trigger …
Browse files Browse the repository at this point in the history
…security definer
  • Loading branch information
cohansen committed Oct 13, 2023
1 parent 37d009e commit defdf8f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
11 changes: 0 additions & 11 deletions deployment/hasura/migrations/AerieUI/2_extensions/down.sql
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
comment on column extension_roles.extension_id is null;
comment on column extension_roles.role is null;
comment on table extension_roles is null;

drop table extension_roles;

drop trigger extensions_set_timestamp on extensions;
drop function extensions_set_updated_at();

comment on column extensions.description is null;
comment on column extensions.label is null;
comment on column extensions.owner is null;
comment on column extensions.url is null;
comment on column extensions.updated_at is null;
comment on table extensions is null;

drop table extensions;

call migrations.mark_migration_rolled_back('2');
1 change: 0 additions & 1 deletion deployment/hasura/migrations/AerieUI/2_extensions/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ comment on column extensions.updated_at is e''

create or replace function extensions_set_updated_at()
returns trigger
security definer
language plpgsql as $$begin
new.updated_at = now();
return new;
Expand Down
1 change: 0 additions & 1 deletion deployment/postgres-init-db/sql/ui/tables/extensions.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ comment on column extensions.updated_at is e''

create or replace function extensions_set_updated_at()
returns trigger
security definer
language plpgsql as $$begin
new.updated_at = now();
return new;
Expand Down

0 comments on commit defdf8f

Please sign in to comment.