docs
docs copied to clipboard
Error following docs
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
buffalo pop generate fizz users add_email will work though I guess (found by luck, not docs)
in my case:
buffalo pop generate fizz sodas initial
works
buffalo pop generate fizz soda
not
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