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

Support --path and --namespace options for migrate:redo command #235

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

Tigrov
Copy link
Member

@Tigrov Tigrov commented Nov 19, 2023

Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues -

Copy link

what-the-diff bot commented Nov 19, 2023

PR Summary

  • Enhancement in RedoCommand Functionality
    This update adds a couple of options to the RedoCommand class. You can now use --path to specify the exact location of migrations that you want to redo. Similarly, with the --namespace or -ns, you're able to identify the namespace of the migrations to redo. Basically, it gives you more control and specificity when managing migrations.

  • Test Additions in AbstractRedoCommandTest
    To ensure the functionality of these new options works as expected, tests have been added in the AbstractRedoCommandTest class. This is just to make sure everything is running smoothly and error-free with the new changes.

Copy link

codecov bot commented Nov 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3f5244c) 100.00% compared to head (7668b15) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #235   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity       309       313    +4     
===========================================
  Files             19        19           
  Lines           1014      1027   +13     
===========================================
+ Hits            1014      1027   +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Tigrov Tigrov marked this pull request as ready for review November 20, 2023 01:21
@Tigrov Tigrov added the status:code review The pull request needs review. label Nov 21, 2023
@vjik vjik merged commit e8ad9e3 into master Nov 21, 2023
79 checks passed
@vjik vjik deleted the support-path-and-namespace-for-redo branch November 21, 2023 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants