Repository navigation
Add migrations 3.6 to 3.10, with three files that fail on purpose - #12
Merged
Merged
Conversation
59 new files. Three of them fail when applied, to show the plan page's failed state at the top, middle and end of the file list: - 3.6.0001 (file 2 of 59) inserts NULL into setting.value (NOT NULL). - 3.7.0023 (file 30 of 59) divides by zero in its DELETE. - 3.10.0007 (file 58 of 59) raises an exception from a guard block. Later PRs fix them one at a time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SQL Review Summary
Detailed Results
|
zchpeter
added a commit
that referenced
this pull request
Nov 3, 2026
Removes the first of the three failures #12 injected, so `3.6.0001_move_environment_to_setting.sql` matches Bytebase's original migration again. Expected rollout on test: 3.6.0000 joins the files already applied (the #12 run applied it before failing); 3.6.0001 through 3.7.0022 apply; the run fails at `3.7/3.7.0023_smtp_clean.sql` (file 30 of 59, division by zero). The other two failures are fixed in later PRs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Adds Bytebase's metadata migrations 3.6 to 3.10 (59 files) as the next revisions after base to 3.5.
Three files fail when applied, so the release plan page shows a failed task with the failure at the top, middle and end of the file list:
3.6/3.6.0001_move_environment_to_setting.sqlsetting.value(not-null violation)3.7/3.7.0023_smtp_clean.sql3.10/3.10.0007_remove_exporter_role.sqlThe rollout stops at the first failure. Later PRs fix the files one at a time, in that order.
🤖 Generated with Claude Code