Initial commit

This commit is contained in:
2026-09-22 22:51:19 +08:00
commit 967dcecb7e
80 changed files with 10762 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
-- name: GetAppConfig :one
SELECT * FROM app_config
WHERE config_key = ?;
-- name: UpsertAppConfig :one
INSERT INTO app_config (config_key, config_value)
VALUES (?, ?)
ON CONFLICT(config_key) DO UPDATE
SET config_value = excluded.config_value,
updated_at = CURRENT_TIMESTAMP
RETURNING *;