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

Implement migrate:fresh #860

Open
1 task
eaguad1337 opened this issue Oct 28, 2023 · 0 comments
Open
1 task

Implement migrate:fresh #860

eaguad1337 opened this issue Oct 28, 2023 · 0 comments
Labels
enhancement A feature that exists, works as intended but needs to be improved feature request A feature that does not yet exist but will be a good addition to the library

Comments

@eaguad1337
Copy link
Member

Describe the feature as you'd like to see it
The command migrate:refresh allows you to rollback all the migrations and run it again. But if your migrations are corrupted you won't be able to rollback everything.

It would be nice to have a migrate:fresh to give the database a fresh start. Just like Laravel does.

What do we currently have to do now?
You can drop all the tables manually and migrate again.

Additional context
Add any other context or screenshots about the feature request here.
No.

  • Is this a breaking change?
    No.
@eaguad1337 eaguad1337 added enhancement A feature that exists, works as intended but needs to be improved feature request A feature that does not yet exist but will be a good addition to the library labels Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature that exists, works as intended but needs to be improved feature request A feature that does not yet exist but will be a good addition to the library
Projects
None yet
Development

No branches or pull requests

1 participant