Project

Profile

Help

Task #6703

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

Added by ttereshc about 1 year ago. Updated 2 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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.

Associated revisions

Revision ae70935f View on GitHub
Added by mdellweg 2 months ago

Add documentation not to create new migrations

fixes #6703 https://pulp.plan.io/issues/6703

History

#1 Updated by ttereshc 12 months ago

  • Project changed from RPM Support to Pulp

#2 Updated by ttereshc 8 months ago

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

#3 Updated by rchan 8 months ago

  • Sprint changed from Sprint 86 to Sprint 87

#4 Updated by rchan 7 months ago

  • Sprint changed from Sprint 87 to Sprint 88

#5 Updated by rchan 6 months ago

  • Sprint changed from Sprint 88 to Sprint 89

#6 Updated by rchan 6 months ago

  • Sprint changed from Sprint 89 to Sprint 90

#7 Updated by rchan 5 months ago

  • Sprint changed from Sprint 90 to Sprint 91

#8 Updated by rchan 5 months ago

  • Sprint changed from Sprint 91 to Sprint 92

#9 Updated by ttereshc 4 months ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (ttereshc)
  • Sprint deleted (Sprint 92)

Never got to it. Not a priority at the moment.

#10 Updated by bmbouter 2 months ago

  • Quarter set to Q2-2021

#11 Updated by mdellweg 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mdellweg

#12 Updated by pulpbot 2 months ago

  • Status changed from ASSIGNED to POST

#13 Updated by mdellweg 2 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#14 Updated by dalley 2 months ago

  • Sprint/Milestone set to 3.13.0

#15 Updated by pulpbot 2 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF