#30029: Generate migration dependencies in a deterministic order
-------------------------------------+-------------------------------------
Reporter: Dakota Hawkins | Owner: Dakota
Type: | Hawkins
Cleanup/optimization | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: migrations, | Triage Stage: Accepted
makemigrations |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Dakota Hawkins):
For what it's worth, I think a workaround may be to set
[https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED
PYTHONHASHSEED] to some integer before making migrations. The migrations
wouldn't be sorted, but the order would stay the same (with the same
seed). Presumably the security implications of that would be minimal, as
you're just generating migration files.
--
Ticket URL: <https://code.djangoproject.com/ticket/30029#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.f4b2c3f0ad1067b73fc5d95dfa5b8dc7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.