From b79e10683ee6ef53680638382241a8b240bd50f9 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 18 Mar 2021 19:23:41 +0100 Subject: fix: 'insert into branch' --- src/branch/models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/branch/models.rs b/src/branch/models.rs index c8a8d65..3d57537 100644 --- a/src/branch/models.rs +++ b/src/branch/models.rs @@ -119,7 +119,7 @@ impl Branch { let statement = client .prepare( - "INSERT INTO repository(id, name, repository_id, head) + "INSERT INTO branch(id, name, repository_id, head) VALUES($1, $2, $3, $4) RETURNING *", ) -- cgit v1.2.3-18-g5258