Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add application-specific metadata associated with migrations #7

Open
str4d opened this issue Jan 13, 2025 · 0 comments
Open

Add application-specific metadata associated with migrations #7

str4d opened this issue Jan 13, 2025 · 0 comments

Comments

@str4d
Copy link
Collaborator

str4d commented Jan 13, 2025

The schemerz table stores a single column with the ID of each migration that has been applied. It would be useful to permit applications to associate metadata with each ID, such as the application's version at the time the migration was applied. This can be useful for debugging, e.g. if two application instances are on A in v1, and one instance migrates A -> B in v2 and B -> C in v3, vs the other instance migrates A -> B -> C in a v1-to-v3 update.

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

No branches or pull requests

1 participant