You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When applying migrations fail its reasonable to assume the docker will stop. Such behaviour is critical for production run. Right now if you deploy the application on different environment its almost impossible to spot the failure until the downstream system fails.
Fix is probably very simple, in bash startup script just detect the exit code of migration apply and stop if its !=0. Or add set -e at the top.
The text was updated successfully, but these errors were encountered:
When applying migrations fail its reasonable to assume the docker will stop. Such behaviour is critical for production run. Right now if you deploy the application on different environment its almost impossible to spot the failure until the downstream system fails.
Fix is probably very simple, in bash startup script just detect the exit code of
migration apply
and stop if its !=0. Or addset -e
at the top.The text was updated successfully, but these errors were encountered: