Raise a warning/diff during syncdb if the model changed
|Reported by:||Owned by:||nobody|
|Component:||Core (Management commands)||Version:|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If one changes the model and runs
syncdb, the DB tables are not altered and pages raise an error. It would be great if the user was warned about this "error".
One way to do it could be to run
inspectdb and diff it with the models and check any differences and print them to the user.