summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 *",
)