mirror of https://github.com/AMT-Cheif/drift.git
Update advanced_dart_tables.md
This commit is contained in:
parent
893b95e7e9
commit
2a8b0fff26
|
@ -65,7 +65,7 @@ an exception will be thrown. When using sql, moor also warns about that at compi
|
|||
If you do want to make a column nullable, just use `nullable()`:
|
||||
```dart
|
||||
class Items {
|
||||
IntColumn get category => integer().nullable();
|
||||
IntColumn get category => integer().nullable()();
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue