diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-02-22 22:59:53 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-02-22 23:15:41 +0100 |
commit | cd1a6cbd06d3b75adf708fcd2a7974bf94452248 (patch) | |
tree | e41f7bb1cbda499837943fcb5eedfa0f61b2adff /sql/users.sql | |
parent | 9a97638e0ddd7fbc135c63d7e9055529313ddb3c (diff) | |
download | gosten-cd1a6cbd06d3b75adf708fcd2a7974bf94452248.tar.gz gosten-cd1a6cbd06d3b75adf708fcd2a7974bf94452248.tar.bz2 gosten-cd1a6cbd06d3b75adf708fcd2a7974bf94452248.zip |
Switch from mysql to postgres
Diffstat (limited to 'sql/users.sql')
-rw-r--r-- | sql/users.sql | 4 |
1 files changed, 2 insertions, 2 deletions
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 |