taskcafe/internal/db/query/system_options.sql

6 lines
192 B
MySQL
Raw Permalink Normal View History

-- name: GetSystemOptionByKey :one
SELECT key, value FROM system_options WHERE key = $1;
-- name: CreateSystemOption :one
INSERT INTO system_options (key, value) VALUES ($1, $2) RETURNING *;