Skip to content

Commit

Permalink
refactor: DefaultNamingStrategy#getTableName should be protected, not…
Browse files Browse the repository at this point in the history
… private (#8707)
  • Loading branch information
joeflateau committed Mar 1, 2022
1 parent 411fa54 commit 32549fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/naming-strategy/DefaultNamingStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Table} from "../schema-builder/table/Table";
* Naming strategy that is used by default.
*/
export class DefaultNamingStrategy implements NamingStrategyInterface {
private getTableName(tableOrName: Table | string): string {
protected getTableName(tableOrName: Table | string): string {
if (tableOrName instanceof Table) {
tableOrName = tableOrName.name;
}
Expand Down

0 comments on commit 32549fe

Please sign in to comment.