Skip to content

Commit

Permalink
Update website/docs/reference/resource-properties/constraints.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Oct 1, 2024
1 parent aac0997 commit 957cc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/reference/resource-properties/constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Foreign key constraints accept two additional inputs:
- `to`: A relation input, likely `ref()`, indicating the referenced table.
- `to_columns`: A list of column(s) in that table containing the corresponding primary or unique key.

This syntax for defining foreign keys uses `ref`, meaning it will capture dependencies and works across different environments. It is available in [dbt Cloud Versionless](/docs/dbt-versions/upgrade-dbt-version-in-cloud#versionless), and versions of dbt Core starting with v1.9.
This syntax for defining foreign keys uses `ref`, meaning it will capture dependencies and works across different environments. It's available in [dbt Cloud Versionless](/docs/dbt-versions/upgrade-dbt-version-in-cloud#versionless) and versions of dbt Core starting with v1.9.

<VersionBlock firstVersion="1.9">
<File name='models/schema.yml'>
Expand Down

0 comments on commit 957cc71

Please sign in to comment.