I THINK THIS IS IT
This commit is contained in:
parent
5f9b260d76
commit
16d5a1d1ac
|
@ -24,7 +24,7 @@ impl Post {
|
|||
|
||||
sqlx::query(r#"
|
||||
INSERT INTO posts ( id, title, descr, img_url, origin_url, original_request, posted_on )
|
||||
VALUES ( $1, $2, $3, $4, 0 )
|
||||
VALUES ( $1, $2, $3, $4, $5, $6, $7 )
|
||||
RETURNING id
|
||||
"#)
|
||||
.bind(id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user