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

[feat] Include a optional flag subpath for rollbacking module's specific migration file #1626

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

JaberWiki
Copy link
Contributor

This pull request is against the issue #1423

You can use the optional --subpath flag to migrate a Module's specific migration file.

Usage

php artisan module:migrate-rollback --subpath="2023_10_17_101427_create_posts_table.php" Blog

@Irfan-MagnetismTech
Copy link

@nWidart @dcblogdev please merge this PR. We need this to use a single migration file rollback feature in the Laravel module package. It will save lots of time. Thanks in advance.

@dcblogdev dcblogdev merged commit e0e1191 into nWidart:master Oct 18, 2023
2 checks passed
@JaberWiki
Copy link
Contributor Author

Thanks @dcblogdev for merging.

@dcblogdev
Copy link
Collaborator

thanks for the PR it's helpful, I'll get a release out and docs updated shortly.

@JaberWiki
Copy link
Contributor Author

JaberWiki commented Oct 18, 2023

@dcblogdev I created a PR in your doc for my another PR please merge this too. #1431

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