mirror of https://github.com/AMT-Cheif/drift.git
Regenerate databases
This commit is contained in:
parent
936656b6cc
commit
ea5cb2e85f
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue