custom naming strategy
This commit is contained in:
parent
47663de08f
commit
b1fdd92583
@ -67,7 +67,7 @@ export function relationName(relation: Relation, owner?: Entity): string {
|
||||
}
|
||||
|
||||
export function entityName(oldEntityName: string, entity?: Entity): string {
|
||||
return oldEntityName;
|
||||
return oldEntityName + "Entity";
|
||||
}
|
||||
|
||||
export function columnName(oldColumnName: string, column?: Column): string {
|
||||
@ -75,5 +75,5 @@ export function columnName(oldColumnName: string, column?: Column): string {
|
||||
}
|
||||
|
||||
export function fileName(oldFileName: string): string {
|
||||
return oldFileName;
|
||||
return oldFileName.replace("Entity", ".entity");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user