Skip to content

Commit

Permalink
drop old audit partition
Browse files Browse the repository at this point in the history
  • Loading branch information
leondutoit committed Feb 12, 2021
1 parent b5279f3 commit 7bd4b96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mgrt/1.5-to-2.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ alter table audit_log_relations alter column event_time set default current_time
drop trigger apabilities_http_grants_correct_names_allowed on capabilities_http_grants;
create trigger capabilities_http_grants_correct_names_allowed before insert or update on capabilities_http_grants
for each row execute procedure ensure_correct_capability_names_allowed();

-- drop old audit partition
drop table if exists audit_log_relations_capabilities_http_grants;

0 comments on commit 7bd4b96

Please sign in to comment.