migrate:create feature - add --no-blank-file flag #4423
johngrantdev
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking about running migrate:create at the start of my build script that would be run as part of my dockerfile build (tell me if this is a bad idea). the issue is that if there are no changes to the schema it prompts.
No schema changes detected. Would you like to create a blank migration file?
This means the docker build gets stuck as it doesn't handle user input.
I would like to add a CLI argument to the migrate:create script to not create a blank migration file eg.
--no-blank-file
. would this we worthwhile implementing?Beta Was this translation helpful? Give feedback.
All reactions