joinsTableLocalColumnName static method
In the rare case of a many-to-many association of the same model, the columns must be prefixed.
For example, final List<Friend> friends
on class Friend
.
This and joinsTableForeignColumnName are created for the legibility and constraint of a
single, universal method across packages. The prefix of l
should not be changed without an
available migration path.
Implementation
static String joinsTableLocalColumnName(String localTableName) =>
foreignKeyColumnName(localTableName, 'l');