prisma
prisma-engines
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
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
chore(deps): bump ws in /libs/driver-adapters/executor Bumps [ws](https://github.com/websockets/ws) from 8.17.1 to 8.20.1. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/8.17.1...8.20.1) --- updated-dependencies: - dependency-name: ws dependency-version: 8.20.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/npm_and_yarn/libs/driver-adapters/executor/ws-8.20.1
25 days ago
chore(deps): bump openssl from 0.10.74 to 0.10.80 Bumps [openssl](https://github.com/rust-openssl/rust-openssl) from 0.10.74 to 0.10.80. - [Release notes](https://github.com/rust-openssl/rust-openssl/releases) - [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.74...openssl-v0.10.80) --- updated-dependencies: - dependency-name: openssl dependency-version: 0.10.80 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/cargo/openssl-0.10.80
25 days ago
test(postgis): match capitalized rendering in migration assertions and tolerate column-alignment padding in introspection checks
lh0x00:feature/support-postgis-features
26 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%
chore(deps): bump ws from 8.17.1 to 8.20.1 in /libs/driver-adapters/executor
#5816
25 days ago
c34e733
dependabot/npm_and_yarn/libs/driver-adapters/executor/ws-8.20.1
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs