From cd1a6cbd06d3b75adf708fcd2a7974bf94452248 Mon Sep 17 00:00:00 2001
From: René 'Necoro' Neumann <necoro@necoro.eu>
Date: Thu, 22 Feb 2024 22:59:53 +0100
Subject: Switch from mysql to postgres

---
 sql/users.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'sql/users.sql')

diff --git a/sql/users.sql b/sql/users.sql
index 9f1b5ef..2e1d997 100644
--- a/sql/users.sql
+++ b/sql/users.sql
@@ -5,9 +5,9 @@ SELECT *
 -- name: GetUserByName :one
 SELECT *
   FROM users
- WHERE LOWER(name) = LOWER(?);
+ WHERE LOWER(name) = LOWER($1);
 
 -- name: GetUserById :one
 SELECT *
   FROM users
- WHERE id = ?;
\ No newline at end of file
+ WHERE id = $1;
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

