mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Use a semicolon.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Adding Composite Uniqueness Constraints
|
# Adding Composite Uniqueness Constraints
|
||||||
|
|
||||||
There are two ways in Postgres to create a composite uniqueness constraint,
|
There are two ways in Postgres to create a composite uniqueness constraint;
|
||||||
that is, a constraint that ensures that the combination of two or more
|
that is, a constraint that ensures that the combination of two or more
|
||||||
values on a table only appear once. For the following two code snippets,
|
values on a table only appear once. For the following two code snippets,
|
||||||
assume that we have a table relating Pokemon and Trainers and that our
|
assume that we have a table relating Pokemon and Trainers and that our
|
||||||
|
|||||||
Reference in New Issue
Block a user