24 lines
693 B
TOML
24 lines
693 B
TOML
[package]
|
|
name = "migration"
|
|
version = "0.42.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "migration"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
tokio = { version = "1.29.1", features = ["full", "tracing"] }
|
|
chrono = "0.4.26"
|
|
sea-orm = { version = "0.11.3", features = ["with-chrono"]}
|
|
|
|
[dependencies.sea-orm-migration]
|
|
version = "0.11.3"
|
|
features = [
|
|
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
|
|
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.
|
|
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
|
|
"sqlx-mysql", # `DATABASE_DRIVER` feature
|
|
]
|