Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip drop queries for recreated tables in migration #45

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Conversation

colodenn
Copy link
Member

@colodenn colodenn commented Jan 30, 2025

A customer reported that the migration process created a protocol where a temporary table was generated with the columns already dropped, yet the migration still executed additional drop queries. This has been addressed in this update.

Additionally, I updated the renaming prompt from:
Did you mean to rename field: name -> notName
to
Did you mean to rename field: user.name -> user.notName for better clarity.

@colodenn colodenn requested a review from leo January 30, 2025 12:00
@colodenn colodenn self-assigned this Jan 30, 2025
Copy link

Released an experimental package:

bun add @ronin/cli@corny-ron-1099-experimental-107

This package will be removed after the pull request has been merged.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/utils/field.ts 100.00% <100.00%> (ø)
tests/fixtures/index.ts 100.00% <100.00%> (ø)

@colodenn colodenn marked this pull request as ready for review January 30, 2025 12:01
@colodenn colodenn merged commit 8f186af into main Jan 30, 2025
3 checks passed
@colodenn colodenn deleted the corny/ron-1099 branch January 30, 2025 12:03
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.

3 participants