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

[cli] migrator CLI handles init and generate commands #931

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

billy1624
Copy link
Member

@billy1624 billy1624 commented Aug 2, 2022

PR Info

Fixes

  • Running migrator CLI in migration crate cannot perform init and generate commands
# At directory: `sea-orm/examples/rocket_example/migration`
$ cargo r -- init

# At directory: `sea-orm/examples/rocket_example/migration`
$ cargo r -- generate MIGRATION_NAME

Copy link

@shoichi1023 shoichi1023 left a comment

Choose a reason for hiding this comment

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

oh!! that's great!! I'm so happy ~!!

LGTM!!!

@billy1624 billy1624 requested a review from tyt2y3 August 2, 2022 09:17
@billy1624 billy1624 marked this pull request as ready for review August 2, 2022 09:17
@tyt2y3 tyt2y3 merged commit 8a269bf into master Aug 3, 2022
@tyt2y3 tyt2y3 deleted the migrator-cli-handle-init-generate-commands branch August 3, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

sea-orm-migration has generate in help, but not working
3 participants