format some sql strings
This commit is contained in:
parent
eeac92ec91
commit
e46360eaa7
|
@ -25,7 +25,8 @@ impl Post {
|
|||
sqlx::query(
|
||||
r#"
|
||||
INSERT INTO posts (title, body, published)
|
||||
VALUES ($1, $2, $3); "#,
|
||||
VALUES ($1, $2, $3);
|
||||
"#,
|
||||
)
|
||||
.bind(title)
|
||||
.bind(body)
|
||||
|
|
Loading…
Reference in New Issue