cuddle-rust-service-plan/scripts/migrate.sh

7 lines
132 B
Bash
Raw Normal View History

#!/bin/bash
export $(cat .env | xargs)
cargo sqlx migrate run --source "crates/$service/migrations" --database-url=$DATABASE_URL