Actions
Task #6703
closedDocument that users should not run makemigrations but file a bug instead
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:
Q2-2021
Description
Users should not run django-admin makemigrations
because if there is any new migration created, at minimum, it will affect the upgrade in the future.
Cases when django-admin makemigrations
produces a new migration:
- users modified code (models)
- there is a bug
- some migration is not committed
- existing migrations are not in sync with models, aka incorrect existing migrations
Document that users should never run makemigrations if they are not making some changes on purpose (in this case they are conscious that they will be on their own with the upgrade.), and file a bug if django prompts them to run something like that.
Updated by ttereshc almost 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
- Sprint set to Sprint 86
Updated by ttereshc over 3 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
ttereshc) - Sprint deleted (
Sprint 92)
Never got to it. Not a priority at the moment.
Updated by mdellweg over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to mdellweg
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Added by mdellweg over 3 years ago
Updated by mdellweg over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|ae70935f1bea6d9d41618beb55b4794a9994f288.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Add documentation not to create new migrations
fixes #6703 https://pulp.plan.io/issues/6703