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

npx vendure migrate doesn't detect migrations placed in the root of the project #2835

Open
dim-anis opened this issue May 6, 2024 · 0 comments
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@dim-anis
Copy link

dim-anis commented May 6, 2024

Describe the bug
CLI tool gives two options for where to place the newly created migration files. When placed in the root of the project migrations are ignored. However, when placed in the src everything works as intended.

To Reproduce
Steps to reproduce the behavior:

  1. Choose root when prompted in the cli
  2. Try running migrations
  3. No pending migrations found!

Expected behavior
Migration files should be detected in both the root and the src.

Environment (please complete the following information):

  • @vendure/core version: 2.2.3
  • Nodejs version: 20.12.0
  • Database (mysql/postgres etc): postgresql
@dim-anis dim-anis added the type: bug 🐛 Something isn't working label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants