From eeac5f257555a22ce7cee0823a32b4b752264287 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 15 Nov 2024 10:53:47 -0800 Subject: [PATCH] feat: sql dev tooling --- .lazy.lua | 5 +++++ .sqlfluff | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .lazy.lua create mode 100644 .sqlfluff diff --git a/.lazy.lua b/.lazy.lua new file mode 100644 index 0000000..76f5522 --- /dev/null +++ b/.lazy.lua @@ -0,0 +1,5 @@ +vim.g.dbs = { + dev = "sqlite:testing.db", +} + +return {} diff --git a/.sqlfluff b/.sqlfluff new file mode 100644 index 0000000..8ec0c9e --- /dev/null +++ b/.sqlfluff @@ -0,0 +1,10 @@ +[sqlfluff] +dialect = sqlite + +[sqlfluff:layout:type:column_constraint_segment] +spacing_before = align +align_within = create_table_statement + +[sqlfluff:layout:type:data_type] +spacing_before = align +align_within = create_table_statement