Answers for "roll back migration laravel"

PHP
9

laravel rollback last migration

php artisan migrate:rollback --step=1
Posted by: Guest on May-13-2020
5

artisan migration rollback

php artisan migrate:rollback
Posted by: Guest on May-04-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
2

php artisan see last migration

php artisan migrate:status
Posted by: Guest on May-06-2020
0

Laravel Rolling Back Migrations

php artisan migrate:rollback --step=5
Posted by: Guest on May-04-2021
-1

fresh migrqte laravel

$ php artisan migrate:fresh

Dropped all tables successfully.
Migration table created successfully.
Migrating: 2014_10_12_000000_create_users_table
Migrated:  2014_10_12_000000_create_users_table
Migrating: 2014_10_12_100000_create_password_resets_table
Migrated:  2014_10_12_100000_create_password_resets_table
Posted by: Guest on November-05-2020

Code answers related to "roll back migration laravel"

Browse Popular Code Answers by Language