diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-03-18 19:23:41 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-03-18 19:23:41 +0100 |
commit | b79e10683ee6ef53680638382241a8b240bd50f9 (patch) | |
tree | 2ef452ba714e581e0dd5ce17c46c82c9ce636a9f /src/branch | |
parent | 77715d93b2112b7d231db541ecce6ddca5c762c7 (diff) |
fix: 'insert into branch'
Diffstat (limited to 'src/branch')
-rw-r--r-- | src/branch/models.rs | 2 |
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 *", ) |