Opened 5 years ago
Last modified 5 years ago
#31402 closed New feature
Add --check flag to showmigrations — at Initial Version
Reported by: | nickname123 | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It would be helpful if there was a flag for showmigrations
that acted similar to makemigrations --check
that could be used to stop CI from deploying an application automatically when database migrations would be needed.
showmigrations
is preferred to migrate
for this purpose so a typo doesn't accidentally run the migrations but I suppose that isn't super important
One currently needs to parse output. It seems like this would be universally useful
Note:
See TracTickets
for help on using tickets.