docs icon indicating copy to clipboard operation
docs copied to clipboard

Error following docs

Open asomervell opened this issue 5 years ago • 3 comments

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 avatar Apr 11 '20 20:04 asomervell

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

asomervell avatar Apr 11 '20 20:04 asomervell

in my case: buffalo pop generate fizz sodas initial works

buffalo pop generate fizz soda not

nordbit avatar Apr 19 '20 11:04 nordbit

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

nordbit avatar Apr 19 '20 11:04 nordbit