2022-06-17 00:26:40 -05:00
|
|
|
-- name: InsertDeploymentID :exec
|
|
|
|
|
INSERT INTO site_configs (key, value) VALUES ('deployment_id', $1);
|
|
|
|
|
|
|
|
|
|
-- name: GetDeploymentID :one
|
|
|
|
|
SELECT value FROM site_configs WHERE key = 'deployment_id';
|
2022-10-17 08:43:30 -05:00
|
|
|
|
|
|
|
|
-- name: InsertDERPMeshKey :exec
|
|
|
|
|
INSERT INTO site_configs (key, value) VALUES ('derp_mesh_key', $1);
|
|
|
|
|
|
|
|
|
|
-- name: GetDERPMeshKey :one
|
|
|
|
|
SELECT value FROM site_configs WHERE key = 'derp_mesh_key';
|