Skip to content

feat(migration): add renameTable method for table renaming functionality#27

Merged
AxiosLeo merged 1 commit into
mainfrom
feat/migrate-renameTable
Apr 19, 2026
Merged

feat(migration): add renameTable method for table renaming functionality#27
AxiosLeo merged 1 commit into
mainfrom
feat/migrate-renameTable

Conversation

@AxiosLeo
Copy link
Copy Markdown
Owner

@AxiosLeo AxiosLeo commented Apr 19, 2026

Note

Medium Risk
Adds a new schema-altering migration operation (RENAME TABLE), which could impact production data if used incorrectly, but the change is small and isolated to migration SQL generation.

Overview
Adds a new migration API renameTable(oldTableName, newTableName) and wires it through the migration DSL to emit a RENAME TABLE ... TO ... statement.

Updates the TypeScript declarations and extends ManageSQLBuilder with validation/rendering for the new rename operation.

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

@AxiosLeo AxiosLeo merged commit 422f910 into main Apr 19, 2026
13 checks passed
@AxiosLeo AxiosLeo deleted the feat/migrate-renameTable branch April 19, 2026 07:00
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