How to block migrations that delete a view in django?

When we change the type of a column in Django and run a migration, it does not finish if any view is using the column. However, when we remove a column from the table and run a migration, Django does not interrupt the migration. How can I configure this?

Can we create a custom migration or even a trigger in the database?