mirror of https://github.com/AMT-Cheif/drift.git
feat: Add getter actualTableNameStatic
This commit is contained in:
parent
3b81babb53
commit
8161d96323
|
@ -409,7 +409,9 @@ class TableWriter extends TableOrViewWriter {
|
|||
..write('@override\nString get aliasedName => '
|
||||
'_alias ?? \'${table.id.name}\';\n')
|
||||
..write(
|
||||
'@override\n String get actualTableName => \'${table.id.name}\';\n');
|
||||
'@override\n String get actualTableName => \'${table.id.name}\';\n')
|
||||
..write(
|
||||
'static String get actualTableNameStatic => \'${table.id.name}\';\n');
|
||||
|
||||
_writeValidityCheckMethod();
|
||||
_writePrimaryKeyOverride();
|
||||
|
|
Loading…
Reference in New Issue