Skip to content

use django migration hack with env var#3

Open
madtibo wants to merge 2 commits intostable/5.1.xfrom
tmadelaine/DXG-914/use-django-migration-hack-with-env-var
Open

use django migration hack with env var#3
madtibo wants to merge 2 commits intostable/5.1.xfrom
tmadelaine/DXG-914/use-django-migration-hack-with-env-var

Conversation

@madtibo
Copy link
Collaborator

@madtibo madtibo commented Mar 18, 2025

use an Environment variable to enable the shallow reload migration mode.

DXG-914

madtibo added 2 commits March 18, 2025 12:52
When SHALLOW_RELOAD_MIGRATION is set to True, Only generate first degree
relations between tables when building the project state. This speeds up
migration but can be dangerous.  See
https://forum.djangoproject.com/t/very-slow-migrations-with-large-numbers-of-tables/29038/7

Issue: DXG-914
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant