Usability / Docs: joy create migration does not create an empty migration
LeviSchuck opened this issue · comments
Levi commented
While reading the docs https://github.com/joy-framework/joy/blob/master/docs/database-migrations.md , I would have expected
joy create migration
to create an empty migration with a default name and have -- up
and -- down
sections
OR
An error message saying a name is needed.
Instead, no file is created and no error is produced.
The correct use would be
joy create migration name-here
The docs should be updated, and it would be nice if joy create migration
gave either a generated new migration or an error message.