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

Remove .protocols directory in favor for migrations #50

Merged
merged 13 commits into from
Feb 10, 2025
Merged

Conversation

colodenn
Copy link
Member

This pull request introduces the following changes:

  1. Removal of .protocols Directory: The .protocols directory, which contained all migrations created by ronin diff, has been removed. Maintaining two directories for migrations was causing confusion, so one has been eliminated.

  2. Model Definition Prompt: A new prompt has been added to ask the user where the model definition is located if it is not found in the default file. The specified path is then saved in the configuration.

  3. Migration Selection in ronin apply: When running ronin apply, the CLI now prompts the user with a selection menu to choose which migration to execute.

@colodenn colodenn added the enhancement New feature or request label Feb 10, 2025
@colodenn colodenn requested a review from leo February 10, 2025 13:58
@colodenn colodenn self-assigned this Feb 10, 2025
Copy link

github-actions bot commented Feb 10, 2025

Released an experimental package:

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

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

@codecov-commenter
Copy link

codecov-commenter commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/utils/misc.ts 100.00% <100.00%> (ø)
src/utils/protocol.ts 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@colodenn colodenn marked this pull request as ready for review February 10, 2025 14:08
leo
leo previously requested changes Feb 10, 2025
src/utils/misc.ts Outdated Show resolved Hide resolved
@colodenn colodenn merged commit c46c690 into main Feb 10, 2025
3 checks passed
@colodenn colodenn deleted the corny/ron-1099 branch February 10, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants