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

Adds 'php artisan native:migrate fresh' command #81

Merged
merged 3 commits into from
Aug 1, 2023

Conversation

shanerbaner82
Copy link
Contributor

To avoid copy/pasting the base Laravel command, because it is internally calling migrate instead of native:migrate I am simply unlinking the database file and calling the rewriteDatabase command.

@mpociot
Copy link
Member

mpociot commented Jul 29, 2023

Thank you for the PR.
This command currently only deletes the database without actually migrating it afterwards. We'll still need to call native:migrate in the command I guess.

@mpociot mpociot merged commit 2a2fd25 into NativePHP:main Aug 1, 2023
1 check passed
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.

2 participants