mirror of https://github.com/AMT-Cheif/drift.git
Update advanced_dart_tables.md to fix typo
Colum -> Column
This commit is contained in:
parent
19ddc6217d
commit
824de72019
|
@ -131,7 +131,7 @@ Note that the primary key must essentially be constant so that the generator can
|
|||
Moor supports a variety of column types out of the box. You can store custom classes in columns by using
|
||||
[type converters]({{<relref "../Advanced Features/type_converters.md">}}).
|
||||
|
||||
| Dart type | Colum | Corresponding SQLite type |
|
||||
| Dart type | Column | Corresponding SQLite type |
|
||||
|--------------|---------------|-----------------------------------------------------|
|
||||
| `int` | `integer()` | `INTEGER` |
|
||||
| `double` | `real()` | `REAL` |
|
||||
|
@ -164,4 +164,4 @@ class GroupMemberships extends Table {
|
|||
Applying a `customConstraint` will override all other constraints that would be included by default. In
|
||||
particular, that means that we need to also include the `NOT NULL` constraint again.
|
||||
|
||||
You can also add table-wide constraints by overriding the `customConstraints` getter in your table class.
|
||||
You can also add table-wide constraints by overriding the `customConstraints` getter in your table class.
|
||||
|
|
Loading…
Reference in New Issue