-
Notifications
You must be signed in to change notification settings - Fork 77
β CI/CD pipeline failing due to SQLx migration checksum mismatchΒ #573
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
π Project Context
This project is a Rust backend using Axum, SQLx, and PostgreSQL.
CI/CD is handled with GitHub Actions.
β Problem
The CI pipeline fails during migration with the error:
error: migration 20250411000001 was previously applied but has been modified
π Steps to Reproduce
- Clone the repo
- Set DATABASE_URL
- Run:
cargo sqlx migrate run
β Expected Behavior
Migrations should run successfully in CI.
β Actual Behavior
Pipeline fails with checksum mismatch error.
π₯οΈ Environment
- Rust: (your version)
- SQLx: (your version)
- OS: Ubuntu (GitHub Actions)
π CI Workflow
Paste relevant part of .github/workflows/ci.yml
π οΈ What Iβve Tried
- Resetting migrations
- Re-running pipeline
- Ensuring fresh database
π Help Needed
Need help fixing SQLx migration issues in CI/CD pipeline.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program