diff --git a/src/model/rower.rs b/src/model/rower.rs index f6a40a8..707c5d6 100644 --- a/src/model/rower.rs +++ b/src/model/rower.rs @@ -33,7 +33,7 @@ WHERE id in (SELECT rower_id FROM rower WHERE logbook_id=?) //TODO: Check if rower is allowed to row sqlx::query!( - "INSERT INTO rower(logbook_id, rower_id) VALUES (?,?)", + "INSERT INTO rower(logbook_id, rower_id) VALUES (?,?);", logbook_id, rower_id )