Skip to content

feat(migration, builder): add changeColumn method for modifying exist…#28

Merged
AxiosLeo merged 1 commit intomainfrom
feat/migrate-changeColumn
Apr 19, 2026
Merged

feat(migration, builder): add changeColumn method for modifying exist…#28
AxiosLeo merged 1 commit intomainfrom
feat/migrate-changeColumn

Conversation

@AxiosLeo
Copy link
Copy Markdown
Owner

@AxiosLeo AxiosLeo commented Apr 19, 2026

…ing columns


Note

Medium Risk
Adds a new migration operation that emits ALTER TABLE ... MODIFY COLUMN, which can alter live schema and potentially cause data/type incompatibilities if used incorrectly.

Overview
Adds a new migration API changeColumn(tableName, columnName, options) (and TypeScript typings) to modify existing table columns.

Implements SQL generation in ManageSQLBuilder.changeColumn to render ALTER TABLE �... MODIFY COLUMN using existing column rendering/validation, and wires it into migration so migrations enqueue the generated query.

Reviewed by Cursor Bugbot for commit 93aec43. Bugbot is set up for automated code reviews on this repo. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f205e81. Configure here.

Comment thread src/builder.js
@AxiosLeo AxiosLeo force-pushed the feat/migrate-changeColumn branch from f205e81 to 93aec43 Compare April 19, 2026 07:27
@AxiosLeo AxiosLeo merged commit cee78f1 into main Apr 19, 2026
13 checks passed
@AxiosLeo AxiosLeo deleted the feat/migrate-changeColumn branch April 19, 2026 07:34
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