Answers for "how to reverse a table migration laravel"

PHP
0

re migrate laravel

Try:
composer dump-autoload
php artisan config:cache

If not working also try:
php artisan migrate:refresh.
Posted by: Guest on July-02-2020
1

laravel migration rollback

To rollback one step:

php artisan migrate:rollback

To rollback multiple steps:

php artisan migrate:rollback --step=[x]
  
To drop all tables and reload all migrations:

php artisan migrate:fresh
Posted by: Guest on December-01-2020

Code answers related to "how to reverse a table migration laravel"

Browse Popular Code Answers by Language