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

Migrations does not apply entities #659

Closed
vladimirpetukhov opened this issue Jul 14, 2022 · 1 comment
Closed

Migrations does not apply entities #659

vladimirpetukhov opened this issue Jul 14, 2022 · 1 comment

Comments

@vladimirpetukhov
Copy link

Steps

I had installed the project with all requirements. After that delete the migrations folder.
Try to create migration with npm run migrate:create Init.
The result is an empty init.ts migration folder.
Add a new module with an entity.
Try to create migration with npm run migrate:create Init.
The result again is an empty init.ts migration folder.

@Shchepotin
Copy link
Collaborator

Please use npm run migration:generate -- CreateNameTable

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

No branches or pull requests

2 participants