Skip to content

feat: preserve richer schema clone metadata#35

Merged
machado144 merged 3 commits into
mainfrom
feature/schema-clone-hardening
May 28, 2026
Merged

feat: preserve richer schema clone metadata#35
machado144 merged 3 commits into
mainfrom
feature/schema-clone-hardening

Conversation

@machado144

Copy link
Copy Markdown
Contributor

Summary

  • preserve exact introspected column DDL types, defaults, generated columns, comments, and non-primary indexes during schema clone
  • mark generated columns in generated schemas so seed/generate does not insert into computed columns
  • expand clone integration fixtures to cover defaults, generated columns, comments, and multi-column indexes on Postgres/MySQL
  • document the richer clone coverage and remaining boundaries

Tests

  • /home/youngestaxe/go/bin/go1.25.10 test ./...
  • cd integration && GOCACHE=/tmp/seedstorm-gocache /home/youngestaxe/go/bin/go1.25.10 test -v -tags integration -count=1 ./... -run 'Test(Postgres|MySQL)SchemaCloneDDL' -timeout 180s

@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown

StructLint — All checks passed

168 rules validated against .structlint.yaml. No violations found.

View full run · Powered by StructLint

@machado144 machado144 merged commit 436b2a8 into main May 28, 2026
9 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