MG18 — DROP DATABASE destroys the whole database
Group: Migration safety · Auto-fixable: no
DROP DATABASE permanently deletes an entire database and everything in it. It cannot run inside a transaction and is almost never something a migration should do.
Example
Section titled “Example”bad: DROP DATABASE app;Configure
Section titled “Configure”Disable this rule in banshee.toml:
[lint]exclude = ["MG18"]Or silence one line with -- noqa: MG18. See Linting.