feat: insert works

This commit is contained in:
2021-02-12 23:17:00 +08:00
parent fb84b0f85e
commit 4c5ee6f908
5 changed files with 34 additions and 24 deletions

View File

@@ -8,3 +8,6 @@ diesel setup --database-url=file:test.db
diesel migration generate create_posts
diesel migration run --database-url=file:test.db
https://github.com/diesel-rs/diesel/tree/master/examples/sqlite/getting_started_step_3