Skip to content

Commit

Permalink
Update constraints.md
Browse files Browse the repository at this point in the history
Postgres example on constraints includes a typo (customer_id should be id) in the check contraints.
  • Loading branch information
H-Max authored Nov 6, 2023
1 parent ef1d2a2 commit 138ff77
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 @@ -103,7 +103,7 @@ models:
contract:
enforced: true
columns:
- name: customer_id
- name: id
data_type: int
constraints:
- type: not_null
Expand Down

0 comments on commit 138ff77

Please sign in to comment.