Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR consolidates seven separate unique key (UK) test cases into a single comprehensive test case to reduce redundancy and improve maintainability.
- Removes individual test directories for add_uk_uuid, add_uk_text, add_uk_single, add_uk_serial, add_uk_identity, add_uk_composite, and add_uk_bigint
- Creates a unified add_uk test case combining multiple unique constraint scenarios
- Maintains test coverage for integer, serial, identity column types and composite unique constraints
Reviewed changes
Copilot reviewed 48 out of 48 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| testdata/diff/create_table/add_uk_uuid/* | Removes test case for UUID type unique constraint |
| testdata/diff/create_table/add_uk_text/* | Removes test case for text type unique constraint |
| testdata/diff/create_table/add_uk_single/* | Removes test case for single integer column unique constraint |
| testdata/diff/create_table/add_uk_serial/* | Removes test case for serial type unique constraint |
| testdata/diff/create_table/add_uk_identity/* | Removes test case for identity column unique constraint |
| testdata/diff/create_table/add_uk_composite/* | Removes test case for composite unique constraint |
| testdata/diff/create_table/add_uk_bigint/* | Removes test case for bigint type unique constraint |
| testdata/diff/create_table/add_uk/* | Adds consolidated test case combining users (integer), user_permissions (composite), products (identity), and orders (serial) tables |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.