mirror of https://github.com/AMT-Cheif/drift.git
Fix inconsistency in documentation
This commit is contained in:
parent
acbcc6bb58
commit
2e06ab763a
|
@ -27,7 +27,7 @@ part 'filename.g.dart';
|
|||
// be represented by a class called "Todo".
|
||||
class Todos extends Table {
|
||||
IntColumn get id => integer().autoIncrement()();
|
||||
TextColumn get title => text().withLength(min: 6, max: 10)();
|
||||
TextColumn get title => text().withLength(min: 6, max: 32)();
|
||||
TextColumn get content => text().named('body')();
|
||||
IntColumn get category => integer().nullable()();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue