Opened 3 hours ago
Last modified 47 minutes ago
#35963 new Uncategorized
Add option to `makemigrations` to skip checking consistent history
Reported by: | Curtis Maloney | Owned by: | |
---|---|---|---|
Component: | Migrations | Version: | 5.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Whilst trying to set up a CI pipeline, I've run into the issue that makemigrations --cheeck
still tries to connect to the database.
This is a problem because my CI pipeline doesn't have a DB to connect to.
I would like the option to cheaply check within my CI pipeline that there aren't any obviously forgotten migrations; and "cheaply" here means "without spending the time + bandwidth to stand up a DB service".
Note:
See TracTickets
for help on using tickets.
Normally feature requests have to go through the forum, but I tend to think we should accept this:
Thoughts Sarah/Natalia/anyone else?
Edit: I guess the thing that would require discussing is: whether
--check
behaviour is updated or whether there'd be a new option… ?