We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373ea35 commit 1a11556Copy full SHA for 1a11556
crates/pglt_analyser/tests/specs/safety/banDropTable/basic.sql.snap
@@ -0,0 +1,16 @@
1
+---
2
+source: crates/pglt_analyser/tests/rules_tests.rs
3
+expression: snapshot
4
5
+# Input
6
+```
7
+-- expect_only_lint/safety/banDropTable
8
+drop table test;
9
10
+
11
+# Diagnostics
12
+lint/safety/banDropTable ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
13
14
+ × Dropping a table may break existing clients.
15
16
+ i Update your application code to no longer read or write the table, and only then delete the table. Be sure to create a backup.
0 commit comments