Skip to content

fix(mysql): preserve table editor alter semantics - #7

Merged
openai0229 merged 1 commit into
mainfrom
fix/mysql-table-editor-alter
Jul 29, 2026
Merged

fix(mysql): preserve table editor alter semantics#7
openai0229 merged 1 commit into
mainfrom
fix/mysql-table-editor-alter

Conversation

@openai0229

Copy link
Copy Markdown
Contributor

Summary

  • infer primary-key ALTER operations from the original editor column flags when no explicit index edit is present
  • normalize metadata dimensions by MySQL type so editing existing integer, text, decimal, and temporal columns produces valid DDL
  • extend the real MySQL Web product test with a composite primary-key alteration

Verification

  • cargo fmt --all -- --check
  • cargo test -p chat2db-web
  • cargo clippy -p chat2db-web --all-targets --all-features --locked -- -D warnings
  • cargo test -p chat2db-web --test native_mysql_editable_ddl_docker -- --ignored

Follow-up to #5.

@openai0229
openai0229 merged commit e6e0c9f into main Jul 29, 2026
19 of 20 checks passed
@openai0229
openai0229 deleted the fix/mysql-table-editor-alter branch July 29, 2026 16:04
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