-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I added PolymorphicParent and PolymorphicChildren decorators to entities but when i try to generate migration like this
typeorm-ts-node-esm migration:generate -d src/migrations-data-source.ts src/migrations/$PG_MIGRATION_NAME
and my migrations generated without new table and columns for polymoprh relations.
My migrations-data-source.ts looks like
import { DataSource } from "typeorm";
export const PGDataSource = new DataSource({
....
})
should i change migrations-data-source.ts for example or something else? i dont understand :(
Metadata
Metadata
Assignees
Labels
No labels