Skip to content

Commit

Permalink
Tweak check for existence of contract config
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Jul 23, 2024
1 parent 5e99e08 commit 738e210
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
{% else %}
{% do run_query(get_create_table_as_sql(True, temp_relation, sql)) %}
{% set contract_config = config.get('contract') %}
{% if not contract_config.enforced %}
{% if not contract_config or not contract_config.enforced %}
{% do adapter.expand_target_column_types(
from_relation=temp_relation,
to_relation=target_relation) %}
Expand Down

0 comments on commit 738e210

Please sign in to comment.