diff --git a/drift/test/generated/custom_tables.g.dart b/drift/test/generated/custom_tables.g.dart index ba28c77b..6f775e22 100644 --- a/drift/test/generated/custom_tables.g.dart +++ b/drift/test/generated/custom_tables.g.dart @@ -24,7 +24,7 @@ class Config extends DataClass implements Insertable { if (!nullToAbsent || configValue != null) { map['config_value'] = Variable(configValue); } - if (!nullToAbsent || syncState != null) { + { final converter = ConfigTable.$converter0n; map['sync_state'] = Variable(converter.toSql(syncState)); } diff --git a/drift/test/generated/todos.g.dart b/drift/test/generated/todos.g.dart index a152d85b..0412cb74 100644 --- a/drift/test/generated/todos.g.dart +++ b/drift/test/generated/todos.g.dart @@ -1233,7 +1233,7 @@ class PureDefault extends DataClass implements Insertable { @override Map toColumns(bool nullToAbsent) { final map = {}; - if (!nullToAbsent || txt != null) { + { final converter = $PureDefaultsTable.$converter0n; map['insert'] = Variable(converter.toSql(txt)); }