Skip to content

Enable adding columns in auto migrations in schema crate #2956

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kazimuth
Copy link
Contributor

Description of Changes

This adds auto migration support to the schema crate.
Additional changes are needed to fully implement this feature: see #2912

API and ABI breaking changes

None

Expected complexity level and risk

1, at this level the change is fairly straightforward. The integration will be more difficult.

Testing

Added schema unit tests for success/failure cases.

@kazimuth kazimuth requested review from Centril and Shubham8287 July 18, 2025 17:22
@bfops bfops added the release-any To be landed in any release window label Jul 21, 2025
@Shubham8287 Shubham8287 force-pushed the jgilles/add_columns branch from 5268953 to 1814483 Compare July 23, 2025 08:08
@@ -129,11 +129,11 @@ error[E0277]: `&'a Alpha` cannot appear as an argument to an index filtering ope
&ConnectionId
&Identity
&Lifecycle
&RawMiscModuleExportV9
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Centril UI tests were failing until I updated this file. I believe it's because the trait FilterableValues was auto-implemented for RawMiscModuleExportV9, but this PR changes the enum to include a variant with data, which affects the generated messages.

@Shubham8287 Shubham8287 force-pushed the jgilles/add_columns branch from 1814483 to 364e617 Compare July 23, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants