aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2021-05-30 18:09:13 +0200
committerTeddy Wing2021-05-30 18:09:13 +0200
commitb7c396b9db42f60d091755eed547c295edd970ac (patch)
tree907cf2530a4886f160a57848fd4e5a2c2a77842c /src
parent966a93e0f72cb0129b2bfeb5eb4a8f3b462de5b6 (diff)
downloadreflectub-b7c396b9db42f60d091755eed547c295edd970ac.tar.bz2
database::repo_update(): Fix SQL `UPDATE` query
Forgot to add commas when I added the additional fields.
Diffstat (limited to 'src')
-rw-r--r--src/database.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.rs b/src/database.rs
index 22314ee..1dac44f 100644
--- a/src/database.rs
+++ b/src/database.rs
@@ -154,8 +154,8 @@ impl Db {
sqlx::query(r#"
UPDATE repositories
SET
- name = ?
- description = ?
+ name = ?,
+ description = ?,
updated_at = ?
WHERE id = ?
"#)