summaryrefslogtreecommitdiff
path: root/test-data/pr109.sql
diff options
context:
space:
mode:
authorAlex Harsányi <alex-hhh@users.noreply.github.com>2024-11-09 08:22:23 +0800
committerGitHub <noreply@github.com>2024-11-09 08:22:23 +0800
commit2ed4c6a26b8f3d651ac6231eaafb2565d77c918b (patch)
tree36a816fbcbfaca59a4aa5f60e072ddb8960f0428 /test-data/pr109.sql
parentc3dd49ccd1f0655ed1699058c16a777ac1cb1419 (diff)
Consider "column" keyword in "if exists" checks (#109) (#110)externals/sql-indent
... to avoid indenting an "if" block in such cases
Diffstat (limited to 'test-data/pr109.sql')
-rw-r--r--test-data/pr109.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-data/pr109.sql b/test-data/pr109.sql
new file mode 100644
index 0000000..b80b20b
--- /dev/null
+++ b/test-data/pr109.sql
@@ -0,0 +1,3 @@
+alter table sometable drop column if exists col;
+
+-- this line should not be indented