aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/query.sql
diff options
context:
space:
mode:
Diffstat (limited to 'backend/query.sql')
-rw-r--r--backend/query.sql6
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/query.sql b/backend/query.sql
index dc5f384..fcff758 100644
--- a/backend/query.sql
+++ b/backend/query.sql
@@ -32,12 +32,6 @@ LIMIT 1;
INSERT INTO user_auths (user_id, auth_type)
VALUES ($1, $2);
--- name: IsRegistrationTokenValid :one
-SELECT EXISTS (
- SELECT 1 FROM registration_tokens
- WHERE token = $1
-);
-
-- name: ListGames :many
SELECT * FROM games
JOIN problems ON games.problem_id = problems.problem_id