Skip to content

Commit

Permalink
update schema config (#6533)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Nov 25, 2024
2 parents 321aed1 + 2b3fc32 commit b0f6251
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/reference/resource-configs/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ This would result in the test results being stored in the `test_results` schema.
Refer to [Usage](#usage) for more examples.

## Definition
Optionally specify a custom schema for a [model](/docs/build/sql-models) or [seed](/docs/build/seeds). (To specify a schema for a [snapshot](/docs/build/snapshots), use the [`target_schema` config](/reference/resource-configs/target_schema)).
Optionally specify a custom schema for a [model](/docs/build/sql-models), [seed](/docs/build/seeds), [snapshot](/docs/build/snapshots), [saved query](/docs/build/saved-queries), or [test](/docs/build/data-tests).

For users on dbt Cloud v1.8 or earlier, use the [`target_schema` config](/reference/resource-configs/target_schema) to specify a custom schema for a snapshot.

When dbt creates a relation (<Term id="table" />/<Term id="view" />) in a database, it creates it as: `{{ database }}.{{ schema }}.{{ identifier }}`, e.g. `analytics.finance.payments`

Expand Down

0 comments on commit b0f6251

Please sign in to comment.