Project

Profile

Help

Task #6703

Document that users should not run makemigrations but file a bug instead

Added by ttereshc 8 months ago. Updated 28 days ago.

Status:
ASSIGNED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 88
Quarter:

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.

History

#1 Updated by ttereshc 5 months ago

  • Project changed from RPM Support to Pulp

#2 Updated by ttereshc about 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
  • Sprint set to Sprint 86

#3 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 86 to Sprint 87

#4 Updated by rchan 28 days ago

  • Sprint changed from Sprint 87 to Sprint 88

Please register to edit this issue

Also available in: Atom PDF