- Create db-migrate binary that runs all .up.sql migration files - Add Dockerfile.migrate for building the migration image - Add migration job to Woodpecker CI pipeline - Image will be pushed to registry.nxtgauge.com:5000/nxtgauge-db-migrate
12 lines
324 B
TOML
12 lines
324 B
TOML
[package]
|
|
name = "db-migrate"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
sqlx = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
|
|
anyhow = { workspace = true }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
serde = { workspace = true }
|