aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/sqlc.yaml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-12 17:11:13 +0900
committernsfisis <nsfisis@gmail.com>2025-07-12 17:52:54 +0900
commitfbe4bff7e8b6a5239c490601436fb3638dc8e13b (patch)
treeb011c43d20ebfc4566cdbe95ed878c9644797e37 /backend/sqlc.yaml
parentdb4f7f4ee12ab52ff249b29496a9f0997e3dbbf5 (diff)
downloadfeedaka-fbe4bff7e8b6a5239c490601436fb3638dc8e13b.tar.gz
feedaka-fbe4bff7e8b6a5239c490601436fb3638dc8e13b.tar.zst
feedaka-fbe4bff7e8b6a5239c490601436fb3638dc8e13b.zip
feat(backend): introduce sqlc
Diffstat (limited to 'backend/sqlc.yaml')
-rw-r--r--backend/sqlc.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/backend/sqlc.yaml b/backend/sqlc.yaml
new file mode 100644
index 0000000..dacc3b1
--- /dev/null
+++ b/backend/sqlc.yaml
@@ -0,0 +1,13 @@
+version: "2"
+sql:
+ - engine: "sqlite"
+ queries: "db/queries/"
+ schema: "db/schema.sql"
+ gen:
+ go:
+ package: "db"
+ out: "db"
+ emit_prepared_queries: false
+ emit_interface: false
+ emit_exact_table_names: false
+ emit_empty_slices: true