Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from Limess/additional_event_info
Browse files Browse the repository at this point in the history
Eagerly commit alter table statement if new columns are added
  • Loading branch information
Claire Carroll authored Feb 28, 2020
2 parents ca3faed + 4c2977f commit 71533ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions macros/audit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
default null;
{% endfor -%}

{%- if columns_to_create|length > 0 %}
commit;
{% endif -%}

{%- else -%}
create table if not exists {{ audit_table }}
(
Expand Down

0 comments on commit 71533ed

Please sign in to comment.