MG16 — DROP TABLE destroys the table and its dependents
Group: Migration safety · Auto-fixable: no
DROP TABLE permanently deletes the table and cascades to views, foreign keys, and policies that depend on it. Stage the removal behind a deploy that stops using the table first.
Example
Section titled “Example”bad: DROP TABLE t;Configure
Section titled “Configure”Disable this rule in banshee.toml:
[lint]exclude = ["MG16"]Or silence one line with -- noqa: MG16. See Linting.