2022-07-26 07:53:38 +03:00
|
|
|
[package]
|
|
|
|
name = "migration"
|
2023-07-27 02:40:08 +03:00
|
|
|
version = "0.42.0"
|
2022-07-26 07:53:38 +03:00
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "migration"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
2023-08-16 01:39:13 +03:00
|
|
|
tokio = { version = "1.31.0", features = ["full", "tracing"] }
|
2023-07-13 23:38:56 +03:00
|
|
|
chrono = "0.4.26"
|
2023-08-05 02:19:43 +03:00
|
|
|
sea-orm = { version = "0.12.2", features = ["with-chrono"]}
|
2022-07-26 07:53:38 +03:00
|
|
|
|
|
|
|
[dependencies.sea-orm-migration]
|
2023-08-05 02:19:43 +03:00
|
|
|
version = "0.12.2"
|
2022-07-26 07:53:38 +03:00
|
|
|
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.
|
2022-09-22 02:50:55 +03:00
|
|
|
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
|
2022-07-26 07:53:38 +03:00
|
|
|
"sqlx-mysql", # `DATABASE_DRIVER` feature
|
2022-08-03 03:27:26 +03:00
|
|
|
]
|