Regenerate databases

This commit is contained in:
westito 2022-08-08 11:14:50 +02:00
parent 936656b6cc
commit ea5cb2e85f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class Config extends DataClass implements Insertable<Config> {
if (!nullToAbsent || configValue != null) { if (!nullToAbsent || configValue != null) {
map['config_value'] = Variable<String>(configValue); map['config_value'] = Variable<String>(configValue);
} }
if (!nullToAbsent || syncState != null) { {
final converter = ConfigTable.$converter0n; final converter = ConfigTable.$converter0n;
map['sync_state'] = Variable<int>(converter.toSql(syncState)); map['sync_state'] = Variable<int>(converter.toSql(syncState));
} }

View File

@ -1233,7 +1233,7 @@ class PureDefault extends DataClass implements Insertable<PureDefault> {
@override @override
Map<String, Expression> toColumns(bool nullToAbsent) { Map<String, Expression> toColumns(bool nullToAbsent) {
final map = <String, Expression>{}; final map = <String, Expression>{};
if (!nullToAbsent || txt != null) { {
final converter = $PureDefaultsTable.$converter0n; final converter = $PureDefaultsTable.$converter0n;
map['insert'] = Variable<String>(converter.toSql(txt)); map['insert'] = Variable<String>(converter.toSql(txt));
} }