Billy Chan 183639dc8c
Migration without depending on async-std (#758)
* Migration without depending on async-std runtime

* Update examples

* Fixup
2022-05-23 23:24:07 +08:00

23 lines
526 B
TOML

[package]
name = "migration"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
name = "migration"
path = "src/lib.rs"
[dependencies]
entity = { path = "../entity" }
async-std = { version = "^1", features = ["attributes", "tokio1"] }
[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
version = "^0.8.0"
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
# "sqlx-sqlite",
]