Opened 3 months ago

Last modified 2 months ago

#31516 assigned New feature

Change automatic migration naming from date-based to operation-based

Reported by: Adam (Chainz) Johnson Owned by: Adam (Chainz) Johnson
Component: Migrations Version: 3.0
Severity: Normal Keywords:
Cc: Carles Pina Estany Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Following #31468 and a discussion on django-developers with broad consensus, change the way migrations are automatically named from date-based to operation-based. That is never name migrations based upon the current date (auto_YYYYMMDD) and instead always based on the operations they contain, rather than the current behaviour which uses either style.

Change History (3)

comment:1 Changed 3 months ago by Carlton Gibson

Triage Stage: UnreviewedAccepted

It looks like a luke-warmish OK on the list, so I guess we should push it forward to review. Thanks Adam.

comment:2 Changed 3 months ago by Carles Pina Estany

Cc: Carles Pina Estany added

comment:3 Changed 2 months ago by felixxm

Owner: changed from nobody to Adam (Chainz) Johnson
Patch needs improvement: set
Note: See TracTickets for help on using tickets.
Back to Top