Skip to content

Added migrate:rebuild command to clean and reconstruct the database #1389

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

Merged
merged 1 commit into from
Oct 30, 2012
Merged

Added migrate:rebuild command to clean and reconstruct the database #1389

merged 1 commit into from
Oct 30, 2012

Conversation

Anahkiasen
Copy link
Contributor

This is a command for something I do almost ten times a day in testing phase : cleaning the database and running all migrations to return it to a clean state.
This basically just does php artisan migrate:reset && php artisan migrate. Whether you have seeding migrations or not, I consider this really useful.

Signed-off-by: Anahkiasen <ehtnam6@gmail.com>
taylorotwell added a commit that referenced this pull request Oct 30, 2012
Added migrate:rebuild command to clean and reconstruct the database
@taylorotwell taylorotwell merged commit 4d0bc9e into laravel:develop Oct 30, 2012
@taylorotwell
Copy link
Member

Thanks!

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