Skip to content

Comments

refactor: consolidate uk test case#168

Merged
tianzhou merged 1 commit intomainfrom
consolidate_test_case
Nov 23, 2025
Merged

refactor: consolidate uk test case#168
tianzhou merged 1 commit intomainfrom
consolidate_test_case

Conversation

@tianzhou
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 23, 2025 14:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

@tianzhou tianzhou merged commit 84dd2bd into main Nov 23, 2025
8 checks passed
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.

1 participant