mirror of https://github.com/AMT-Cheif/drift.git
revamp: Rename actualTableNameStatic into $name
This commit is contained in:
parent
5b6571ec7f
commit
d001ad533f
|
@ -407,11 +407,9 @@ class TableWriter extends TableOrViewWriter {
|
|||
writeGetColumnsOverride();
|
||||
buffer
|
||||
..write('@override\nString get aliasedName => '
|
||||
'_alias ?? \'${table.id.name}\';\n')
|
||||
..write(
|
||||
'@override\n String get actualTableName => \'${table.id.name}\';\n')
|
||||
..write(
|
||||
'static String get actualTableNameStatic => \'${table.id.name}\';\n');
|
||||
'_alias ?? actualTableName;\n')
|
||||
..write('@override\n String get actualTableName => \$name;\n')
|
||||
..write('static const String \$name = \'${table.id.name}\';\n');
|
||||
|
||||
_writeValidityCheckMethod();
|
||||
_writePrimaryKeyOverride();
|
||||
|
|
Loading…
Reference in New Issue