Support the ongoing development of Laravel.io →
posted 3 years ago
Laravel
Last updated 2 years ago.
0

You're looking for migrate:fresh. Please note that this will wipe all data and structure first. But it sounds from your case that that's not an issue.

https://laravel.com/docs/8.x/migrations#drop-all-tables-migrate

0
moderator

If your project use migrations you can run them. The command is: php artisan migrate for that you need to have your database connection configured.

By default the migrations files are placed in the database/migrations directory.

If the project doesn't use migrations it will be really difficult.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

mmich222 michalmichal Joined 24 Aug 2021

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.