Introduce Database handling through SeaORM
This commit is contained in:
parent
37331cd24d
commit
e4765a20ef
12 changed files with 169 additions and 2 deletions
16
migration/Cargo.toml
Normal file
16
migration/Cargo.toml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[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.11.0"
|
||||
features = ["runtime-tokio-rustls", "sqlx-postgres", "sqlx-sqlite"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue