Patch compilation against live schema
This commit is contained in:
1 parent
133b00a2ce
commit
40cd5f8a36
2 files changed
+2
-2
No files matched your search
@@ -22,7 +22,7 @@ impl UserData {
|
||||
|
||||
match sqlx::query!(
|
||||
"
|
||||
SELECT timezone FROM users WHERE user = ?
|
||||
SELECT IFNULL(timezone, 'UTC') AS timezone FROM users WHERE user = ?
|
||||
",
|
||||
user_id
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user