Repository navigation
v4.0.0
What's Changed
- Postgres serializable isolation level by @valerio-iachini @luca-iachini in #231
If you are upgrading from Disintegrate v3 to v4, you must migrate the database schema before starting the new version.
Use the provided Migrator utility:
use disintegrate_postgres::Migrator;
let migrator = Migrator::new(event_store.clone());
migrator.migrate_v3_x_x_to_v4_0_0().await?;This updates the database to the schema required by v4.
After verifying that the migration completed successfully and your application runs correctly, you can manually remove the obsolete objects:
Functions:
event_store_begin_epochevent_store_current_epoch
Table:event_sequence
Full Changelog: v3.0.0...v4.0.0