Skip to content

feat(migration): add support for migration aliases - #94

Draft
msmakouz wants to merge 1 commit into
masterfrom
feat/migration-alias
Draft

feat(migration): add support for migration aliases#94
msmakouz wants to merge 1 commit into
masterfrom
feat/migration-alias

Conversation

@msmakouz

Copy link
Copy Markdown
Contributor

What was changed

Adds meta.alias to migration entries — one or more former registry IDs (string or array of strings) under which the migration may have been recorded in the _migrations ledger. Ledger rows matching an alias count as applied, so moving a migration to another namespace no longer re-applies it; rollback resolves such rows to the current entry, and alias collisions fail fast at boot.

@msmakouz
msmakouz requested a review from wolfy-j July 27, 2026 11:00
@msmakouz
msmakouz marked this pull request as draft July 27, 2026 11:00
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.

2 participants