We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added PolymorphicParent and PolymorphicChildren decorators to entities but when i try to generate migration like this
PolymorphicParent
PolymorphicChildren
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 :(
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added
PolymorphicParent
andPolymorphicChildren
decorators to entities but when i try to generate migration like thisand my migrations generated without new table and columns for polymoprh relations.
My migrations-data-source.ts looks like
should i change migrations-data-source.ts for example or something else? i dont understand :(
The text was updated successfully, but these errors were encountered: