Project

Profile

Help

Task #6703

closed

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

Added by ttereshc over 2 years ago. Updated over 1 year 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.

Actions #1

Updated by ttereshc about 2 years ago

  • Project changed from RPM Support to Pulp
Actions #2

Updated by ttereshc almost 2 years ago

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

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 86 to Sprint 87
Actions #4

Updated by rchan almost 2 years ago

  • Sprint changed from Sprint 87 to Sprint 88
Actions #5

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 88 to Sprint 89
Actions #6

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 89 to Sprint 90
Actions #7

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 90 to Sprint 91
Actions #8

Updated by rchan over 1 year ago

  • Sprint changed from Sprint 91 to Sprint 92
Actions #9

Updated by ttereshc over 1 year ago

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

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

Actions #10

Updated by bmbouter over 1 year ago

  • Quarter set to Q2-2021
Actions #11

Updated by mdellweg over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mdellweg
Actions #12

Updated by pulpbot over 1 year ago

  • Status changed from ASSIGNED to POST

Added by mdellweg over 1 year ago

Revision ae70935f

Add documentation not to create new migrations

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

Actions #13

Updated by mdellweg over 1 year ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #14

Updated by dalley over 1 year ago

  • Sprint/Milestone set to 3.13.0
Actions #15

Updated by pulpbot over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF