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

Error following docs #553

Open
asomervell opened this issue Apr 11, 2020 · 3 comments
Open

Error following docs #553

asomervell opened this issue Apr 11, 2020 · 3 comments

Comments

@asomervell
Copy link

With a fresh install of buffalo (v0.16.3), following the docs at https://gobuffalo.io/en/docs/db/migrations/

$ buffalo pop generate fizz add_user_email

I get the following error

v5.0.11

Error: you must set a name for your migration
@asomervell
Copy link
Author

buffalo pop generate fizz users add_email will work though I guess (found by luck, not docs)

@nordbit
Copy link

nordbit commented Apr 19, 2020

in my case:
buffalo pop generate fizz sodas initial
works

buffalo pop generate fizz soda
not

@nordbit
Copy link

nordbit commented Apr 19, 2020

Ok, I found misbehavior reason.
"buffalo pop" in NOT equivalent of "soda" command:

buffalo pop generate fizz sodas
does not work (error about not set migration name)

soda generate fizz sodas
working as expected

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