Skip to content

[UPDT] Auditlog : Squash auditlog migrations 0001–0017#803

Open
KSreethul wants to merge 1 commit intojazzband:masterfrom
KSreethul:squash-auditlog-migrations
Open

[UPDT] Auditlog : Squash auditlog migrations 0001–0017#803
KSreethul wants to merge 1 commit intojazzband:masterfrom
KSreethul:squash-auditlog-migrations

Conversation

@KSreethul
Copy link

Squash auditlog migrations for cleaner fresh installs

Summary

This PR introduces a squashed migration for the auditlog app by consolidating migrations 0001 through 0017 into a single migration file.

The goal is to improve fresh installation performance while maintaining full backward compatibility for existing projects.

What’s Changed

  • Squashed migrations from:

    0001_initial.py
    ...
    0017_add_actor_email.py
    
  • Introduced a new squashed migration (e.g., 0001_squashed_0017.py)

  • Added replaces = [...] to preserve compatibility with previous migration history

Why This Change?

Currently, fresh installations execute 17 migration files sequentially, even though only the final schema state is required.

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