Skip to content

Add event store update unique keys method#447

Merged
erikrozendaal merged 6 commits intomasterfrom
add-event-store-update-unique-keys-method
Mar 7, 2025
Merged

Add event store update unique keys method#447
erikrozendaal merged 6 commits intomasterfrom
add-event-store-update-unique-keys-method

Conversation

@erikrozendaal
Copy link
Copy Markdown
Member

Adds a new rake task sequent:migrate:unique_keys to load and update all unique keys of an aggregate (optionally filtered by type). This is needed when adding or modifying unique_key constraints on an aggregate to ensure all unique keys are present in the aggregate_unique_keys table so that uniqueness can be enforced by the database.

@erikrozendaal erikrozendaal force-pushed the add-event-store-update-unique-keys-method branch from 6f24914 to e9f43f2 Compare March 5, 2025 13:13
@erikrozendaal erikrozendaal force-pushed the add-event-store-update-unique-keys-method branch from e9f43f2 to 407ab64 Compare March 5, 2025 14:31
@erikrozendaal erikrozendaal merged commit 9e85967 into master Mar 7, 2025
7 checks passed
@erikrozendaal erikrozendaal deleted the add-event-store-update-unique-keys-method branch March 7, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant