Avatar for the prisma user
prisma
prisma-engines
BlogDocsChangelog

Performance History

Latest Results

fix(schema-engine): report rolled back migrations as unapplied (#5817) ## Summary Fixes prisma/prisma#29601. `diagnoseMigrationHistory` was matching a migration from the filesystem with any migration table row that had the same name. That included rows marked with `rolled_back_at`, even though those rows are ignored by migrate when they are not null. This changes the history comparison to ignore rolled-back rows when deciding which migrations are already present in the database. A rolled-back migration that still exists on disk is now reported as unapplied, which lets `migrate status` return a non-clean result instead of reporting the schema as up to date. ## Tests ```sh cargo fmt --check git diff --check make dev-sqlite set -a; . ./.test_database_urls/sqlite; set +a CARGO_BUILD_JOBS=2 RUST_TEST_THREADS=1 cargo test -p sql-migration-tests diagnose_migrations_history_reports_rolled_back_migration_as_unapplied -- --test-threads 1 CARGO_BUILD_JOBS=2 RUST_TEST_THREADS=1 cargo test -p sql-migration-tests diagnose_migration_history_tests -- --test-threads 1 CARGO_BUILD_JOBS=2 cargo check -p schema-core -p schema-commands -p sql-migration-tests ```
main
4 days ago
fix(schema-engine): simplify rolled back migration filtering
goutamadwant:fix/rolled-back-migration-status
4 days ago
fix(schema-engine): report rolled back migrations as unapplied
goutamadwant:fix/rolled-back-migration-status
7 days ago
fix: resolve ci\/cd issues
lh0x00:feature/support-postgis-features
7 days ago
Merge branch 'main' into feature/support-postgis-features
lh0x00:feature/support-postgis-features
1 month ago

Latest Branches

CodSpeed Performance Gauge
0%
fix(schema-engine): report rolled back migrations as unapplied#5817
6 days ago
42bce72
goutamadwant:fix/rolled-back-migration-status
CodSpeed Performance Gauge
0%
Native PostGIS Support for Prisma#5797
8 days ago
2fede2e
lh0x00:feature/support-postgis-features
CodSpeed Performance Gauge
0%
25 days ago
c34e733
dependabot/npm_and_yarn/libs/driver-adapters/executor/ws-8.20.1
© 2026 CodSpeed Technology
Home Terms Privacy Docs