Skip to content

corpus: owned sequences with options of their own, and named for a table's old name - #20

Merged
jasdeepkhalsa merged 1 commit into
mainfrom
corpus/owned-sequences
Nov 6, 2026
Merged

jasdeepkhalsa merged 1 commit into
mainfrom
corpus/owned-sequences

Conversation

@jasdeepkhalsa

Copy link
Copy Markdown
Member

Two migration cases from GitLab's schema:

  • owned_sequence_with_options_of_its_own: a new table whose id comes from a sequence it owns that starts at 1000.
  • partitioned_table_owns_a_sequence_named_for_its_old_name: a partitioned table still owning a sequence named for the table it was renamed from.

Either one, written as a serial, gives the copy a different sequence from the source's.

Released DBDiff fails both; DBDiff/DBDiff#288 passes them. This should be merged once a DBDiff release includes that fix, since merging publishes.

🤖 Generated with Claude Code

…ble's old name

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jasdeepkhalsa
jasdeepkhalsa merged commit 6a490ca into main Nov 6, 2026
6 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