Skip to content
New issue

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

Fixes bugs introduced in 0.3.0 #8764

Merged
merged 2 commits into from Mar 18, 2022
Merged

Fixes bugs introduced in 0.3.0 #8764

merged 2 commits into from Mar 18, 2022

Conversation

pleerock
Copy link
Member

fixes #8762; #8759; #8758; #8757;

@delucca
Copy link

delucca commented Jun 6, 2022

@pleerock taking a look at this PR and #8762 I was not able to understand what is the current way to generate migrations. TypeORM's docs are still pointing as if the cli options exists (check this reference).

For example, if I have the following ORM config (prior to 0.3.0):

cli: {
  entitiesDir: './src/common/orm/entities',
  migrationsDir: './migrations'
}

Now, every time I run the migrations command I should run:

yarn typeorm migration:create migrations/MigrationName

Is that correct? It would resolve all entities properly?

@pleerock
Copy link
Member Author

@delucca please check #8810 for the explanations on how to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.3.0 generate migrations path
2 participants