feat: add diesel, but not works

This commit is contained in:
2021-02-12 23:06:29 +08:00
parent d383b36f00
commit fb84b0f85e
12 changed files with 193 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
!!NOT WORKS...
cargo install diesel_cli --no-default-features --features sqlite
diesel setup --database-url=file:test.db
diesel migration generate create_posts
diesel migration run --database-url=file:test.db