MG07 — RENAME breaks code that refers to the old name
Group: Migration safety · Auto-fixable: no
Renaming a table or column instantly breaks every query, view, and client still using the old name. Add the new name alongside the old, migrate readers, then remove the old name.
Example
Section titled “Example”bad: ALTER TABLE t RENAME COLUMN a TO b;Configure
Section titled “Configure”Disable this rule in banshee.toml:
[lint]exclude = ["MG07"]Or silence one line with -- noqa: MG07. See Linting.