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

DDL: add unique key example #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

DDL: add unique key example #4

wants to merge 2 commits into from

Conversation

shiyuhang0
Copy link
Collaborator

How GitHub App works in this example

This example alters name column as unique key in the users table.

  1. The production cluster has two rows with the jinzhu name, causing the migration to fail in the test at first. We can find this data problem because the branch copies the whole data.

image

  1. After fixing the data problem in the production cluster, we add a test for the new feature and success at last.

@tidb-cloud-branching
Copy link

tidb-cloud-branching bot commented Sep 28, 2023

The latest updates on TiDB Serverless Branch. Learn more about branching GitHub integration↗︎

BranchName ClusterID Status Updated
uk_example_4_48e3e52 1379661944646224784 READY 2023-09-28T05:52:51Z

@shiyuhang0 shiyuhang0 closed this Sep 28, 2023
@shiyuhang0 shiyuhang0 reopened this Sep 28, 2023
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