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

gofr migrate create is breaking go.mod file #41

Open
vikash opened this issue Feb 24, 2025 · 2 comments
Open

gofr migrate create is breaking go.mod file #41

vikash opened this issue Feb 24, 2025 · 2 comments

Comments

@vikash
Copy link

vikash commented Feb 24, 2025

go.mod file:
Image

After running gofr migrate create config_initial

Image

Please note that actual migration files are NOT being created.

  • gofr-cli version: v0.5.0
  • go version go1.23.2 darwin/arm64
@coolwednesday
Copy link
Contributor

Hey @vikash, The correct command is:
gofr migrate create -name=<name-of-the-migration>

However, if an incorrect command is entered, we should ensure it doesn't cause issues in go.mod. I’ll get this fixed ASAP.

@coolwednesday
Copy link
Contributor

Fixed in PR gofr-dev/gofr#1525

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

No branches or pull requests

2 participants