feat: impl dao (#1)

Co-authored-by: kould <2435992353@qq.com>
This commit is contained in:
Kould
2023-12-13 12:32:01 +08:00
committed by GitHub
parent 6ad8d5799b
commit c6d0d85ab5
19 changed files with 725 additions and 1 deletions

19
migration/Cargo.toml Normal file
View File

@ -0,0 +1,19 @@
[package]
name = "migration"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
name = "migration"
path = "src/lib.rs"
[dependencies]
async-std = { version = "1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
version = "0.12.0"
features = [
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
"sqlx-postgres", # `DATABASE_DRIVER` feature
]