migration v1 commit

This commit is contained in:
2022-09-11 00:18:08 +05:30
parent 2182026d49
commit 4c81efcd6d
5 changed files with 298 additions and 48 deletions

View File

@@ -10,11 +10,14 @@ path = "src/lib.rs"
[dependencies]
async-std = { version = "^1", features = ["attributes", "tokio1"] }
chrono = "0.4"
[dependencies.sea-orm-migration]
version = "^0.9.2" # sea-orm-migration version
version = "^0.9.2"
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
# "runtime-tokio-native-tls",
# "sqlx-postgres",
# 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.
# e.g.
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
"sqlx-sqlite", # `DATABASE_DRIVER` feature
]