-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Skip warning prompts in migrations when not in a TTY #12587
Comments
Perhaps it could be even simpler: check to see if stdout is a tty, and skip the countdown if it is not (e.g. during migrations from a startup script). |
Don’t use db:migrate for first installs! db:setup is faster! It uses db:schema:load which just creates the latest schema right away instead of running migrations one by one |
Well, it shouldn't do a 10s delay in any case even for a migration if stdout is not a tty. |
Pitch
First installs incur 3 different 10s delays applying initial database migrations. It would be awesome if first installs could set an environment variable to skip these delays when deploying new instances.
The text was updated successfully, but these errors were encountered: