drift
drift copied to clipboard
Nullable Columns Without Defaults use `Value`
Nullable Columns Without Defaults
Why does this column need to be constructed with a Value e.g. create(title:Value("Pizza"))
TextColumn get title => text().nullable()();
It can be empty because a withDefault or clientDefault wasn't provided. So Value.empty() has the exact same effect as null.