Make AUDITLOG_LOGENTRY_MODEL swappable#805
Make AUDITLOG_LOGENTRY_MODEL swappable#805Jackevansevo wants to merge 1 commit intojazzband:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #805 +/- ##
=======================================
Coverage 96.33% 96.33%
=======================================
Files 35 35
Lines 1256 1256
=======================================
Hits 1210 1210
Misses 46 46 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks @Jackevansevo for the PR! Looks like fresh installs are covered now. |
Is a good point. I think our choices are either:
I was learning towards 2.
If I get a steer from a maintainer I'm happy to look at doing 1. and get this across the finish line. I'd probably want some safety checks around the migration (i.e. only drop the table if there's no records present), to avoid a situation where upgrading the package inadvertently wipes data. |
Fixes #804
See issue description:
Prevents a dangling
auditlog_logentryfrom conflicting with the flush management command.