Skip to content

Commit

Permalink
Change sources.yml template (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
BAntonellini authored Aug 7, 2024
1 parent 8aa607e commit 6b80918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt_coves/templates/source_props.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2

sources:
- name: {{ relation.schema.lower() }}
- name: {% if not relation.schema.isupper() and not relation.schema.islower() %}{{ relation.schema }}{% else %}{{ relation.schema.lower() }}{% endif %}
{%- if source_database %}
database: {{ source_database }}
{%- endif %}
tables:
- name: {{ relation.name.lower() }}
- name: {% if not relation.name.isupper() and not relation.name.islower() %}{{ relation.name }}{% else %}{{ relation.name.lower() }}{% endif %}
description: ""

0 comments on commit 6b80918

Please sign in to comment.