xelixdev / django-pgviews-redux

Fork of django-postgres that focuses on maintaining and improving support for Postgres SQL Views.
The Unlicense
64 stars 15 forks source link

Create a migration deleting the view/materialized view when a view is removed #34

Open mikicz opened 8 months ago

mikicz commented 8 months ago

When a view or a materialized view is deleted from a project, the view/materialized view will continue existing in the project database, as this project doesn't automatically drop the view. There should be a migration added automatically when a view/materialized view is removed which would drop the view (if exists).