Update advanced_dart_tables.md to fix typo

Colum -> Column
This commit is contained in:
Cervon Wong 2020-12-01 13:24:27 +08:00 committed by GitHub
parent 19ddc6217d
commit 824de72019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.