database persistence in progress

This commit is contained in:
2026-02-05 23:22:00 +01:00
parent a398911527
commit f7e55536ab
17 changed files with 3600 additions and 22 deletions

23
migration/Cargo.toml Normal file
View File

@@ -0,0 +1,23 @@
[package]
name = "migration"
version = "0.1.0"
edition = "2021"
publish = false
[lib]
name = "migration"
path = "src/lib.rs"
[dependencies]
tokio = {version = "1.49.0", features = ["macros", "rt-multi-thread"]}
[dependencies.sea-orm-migration]
version = "1.1.0"
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.
# e.g.
"runtime-tokio-rustls", # `ASYNC_RUNTIME` feature
# "sqlx-postgres", # `DATABASE_DRIVER` feature
"sqlx-sqlite"
]