Skip to content

Commit 1a11556

Browse files
snap
1 parent 373ea35 commit 1a11556

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)