summaryrefslogtreecommitdiff
path: root/src/branch
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-18 19:23:41 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-18 19:23:41 +0100
commitb79e10683ee6ef53680638382241a8b240bd50f9 (patch)
tree2ef452ba714e581e0dd5ce17c46c82c9ce636a9f /src/branch
parent77715d93b2112b7d231db541ecce6ddca5c762c7 (diff)
fix: 'insert into branch'
Diffstat (limited to 'src/branch')
-rw-r--r--src/branch/models.rs2
1 files changed, 1 insertions, 1 deletions
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 *",
)