mirror of https://github.com/AMT-Cheif/drift.git
Fix typo
This commit is contained in:
parent
48ea2c94a9
commit
d63701201a
|
@ -151,7 +151,7 @@ Note that the primary key must essentially be constant so that the generator can
|
|||
|
||||
Starting from version 1.6.0, `UNIQUE` SQL constraints can be defined on Dart tables too.
|
||||
A unique constraint contains one or more columns. The combination of all columns in a constraint
|
||||
must be unique in the table, or the databas will report an error on inserts.
|
||||
must be unique in the table, or the database will report an error on inserts.
|
||||
|
||||
With drift, a unique constraint can be added to a single column by marking it as `.unique()` in
|
||||
the column builder.
|
||||
|
@ -431,4 +431,4 @@ Considering the view from the example above,
|
|||
`Expression`
|
||||
- the `description` column, referencing `categories.description`, is non-nullable.
|
||||
This is because it references `categories`, the primary table of the view's
|
||||
select statement.
|
||||
select statement.
|
||||
|
|
Loading…
Reference in New Issue