squawk-linter 2.49.0

Linter for Postgres migrations & SQL
Documentation
1
2
3
4
5
6
7
8
---
source: crates/squawk_linter/src/rules/renaming_table.rs
expression: "lint_errors(sql, Rule::RenamingTable)"
---
warning[renaming-table]: Renaming a table may break existing clients.
  ╭▸ 
2 │ ALTER TABLE "table_name" RENAME TO "new_table_name";
  ╰╴                         ━━━━━━━━━━━━━━━━━━━━━━━━━━