Skip to content

0.6.0

Compare
Choose a tag to compare
@patriknw patriknw released this 24 Feb 15:16
· 313 commits to main since this release
3dbd9f6

What's Changed

Schema changes

If you have an existing database you should make the following migration.

Add the tags column:

ALTER TABLE event_journal ADD tags TEXT ARRAY;
ALTER TABLE durable_state ADD tags TEXT ARRAY;

For Postgres the slice index has been changed to:

DROP INDEX event_journal_slice_idx;
CREATE INDEX IF NOT EXISTS event_journal_slice_idx ON event_journal(slice, entity_type, db_timestamp, seq_nr);
DROP INDEX durable_state_slice_idx;
CREATE INDEX IF NOT EXISTS durable_state_slice_idx ON durable_state(slice, entity_type, db_timestamp, revision);

For Yugabyte the slice index has been changed to:

DROP INDEX event_journal_slice_idx;
CREATE INDEX IF NOT EXISTS event_journal_slice_idx ON event_journal(slice ASC, entity_type ASC, db_timestamp ASC, seq_nr ASC, persistence_id, deleted)
  SPLIT AT VALUES ((127), (255), (383), (511), (639), (767), (895));
DROP INDEX durable_state_slice_idx;
CREATE INDEX IF NOT EXISTS durable_state_slice_idx ON durable_state(slice ASC, entity_type ASC, db_timestamp ASC, revision ASC, persistence_id)
  SPLIT AT VALUES ((127), (255), (383), (511), (639), (767), (895));

New Contributors

Full Changelog: v0.5.0...v0.6.0