Skip to content

Commit 35c2f63

Browse files
Update migration notes for django-pghistory (#14043)
Clarify the migration process for django-pghistory tables.
1 parent 69d5379 commit 35c2f63

File tree

1 file changed

+2
-2
lines changed
  • docs/content/en/open_source/upgrading

1 file changed

+2
-2
lines changed

docs/content/en/open_source/upgrading/2.54.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ The switch to `django-pghistory` provides several advantages:
3030

3131
### Migration Notes
3232

33-
- A one-time data migration will take place to populate the `django-pghistory` tables with the initial snapshot of the tracked models.
33+
- A one-time data migration will take place to "backfill" the `django-pghistory` tables with the initial snapshot of the tracked models.
3434
- The migration is designed to be fail-safe: if it fails for some reason, it will continue where it left off.
35-
- The migration can also be performed up front via
35+
- If it fails completely or for any other reason you want to trigger it manually, you can do so via:
3636
- `docker compose exec uwsgi bash -c "python manage.py pghistory_backfill_fast"`, or
3737
- `docker compose exec uwsgi bash -c "python manage.py pghistory_backfill_simple"`, or
3838
- `docker compose exec uwsgi bash -c "python manage.py pghistory_backfill"`

0 commit comments

Comments
 (0)