adds missing columns to migration tests#1627
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughThis PR enhances migration testing by introducing dynamic schema handling functions to support older database migrations. Three new utility functions conditionally generate INSERT and UPDATE statements for PostgreSQL and SQLite. An existing function is extended to extract columns from both INSERT and UPDATE statements for coverage validation. A changelog entry is reformatted. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
Contributor
🧪 Test Suite AvailableThis PR can be tested by a repository admin. |
fc4bf4e to
9713d15
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Added new columns to database tables in migration tests to support enhanced model tracking and routing capabilities.
Changes
base_modelcolumn togovernance_model_pricingtable to track underlying model versionsazure_scopescolumn toconfig_keystable for Azure authenticationrouting_engine_usedcolumn tologstable to track which routing mechanism was used for each requestType of change
Affected areas
How to test
Run the migration tests to ensure the new columns are properly created and populated:
Breaking changes
Related issues
Supports enhanced model tracking and Azure authentication capabilities.
Security considerations
The changes enhance authentication capabilities for Azure services by adding support for scopes.
Checklist
docs/contributing/README.mdand followed the guidelines