Django: Find ghost tables without associated models
Dec. 6, 2024
|
Articles
Heavy refactoring of models can leave a Django project with “ghost tables”, which were created for a model that was removed without any trace in the migration history. Thankfully, by using some Django internals, you can find such tables.
Filed in:
Articles
Sponsor Number One
Subscribe to Django News
Weekly Django news, articles, projects, and more. Curated by Jeff Triplett & William Vincent.
No spam, ever. We'll never share your email address and you can opt out at any time.