mirror of
https://git.alemi.dev/dashboard.git
synced 2024-11-25 08:54:49 +01:00
alemi
adf2812dfc
ids are i64, converted to bigints. color should be stored as signed. This makes migrating from SQLite to postgres kind of painful, but doable.
24 lines
664 B
TOML
24 lines
664 B
TOML
[package]
|
|
name = "migration"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "migration"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
async-std = { version = "^1", features = ["attributes", "tokio1"] }
|
|
chrono = "0.4.22"
|
|
|
|
[dependencies.sea-orm-migration]
|
|
version = "^0.10.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-sqlite", # `DATABASE_DRIVER` feature
|
|
"sqlx-postgres",
|
|
]
|