“Laravel Rollback Dernière migration” Réponses codées

Laravel Rollback Dernière migration

php artisan migrate:rollback --step=1
Eranot

Rollback de migration

php artisan migrate:rollback
Crazy Caterpillar

Laravel Rollback toutes les migrations

php artisan migrate:reset
Mohamad

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
Angry Albatross

rafraîchissement artisanal

Try this command it works for me

php artisan migrate:fresh
However, be careful! This command will drop all data from your DB:
Ankur

Laravel Rollback Dernière migration

//Rolling Back Migrations

//To roll back the latest migration operation
php artisan migrate:rollback

//You may roll back a limited number of migrations
php artisan migrate:rollback --step=2

//The migrate:reset command will roll back all of your application's migrations:
php artisan migrate:reset
Wandering Wolverine

Réponses similaires à “Laravel Rollback Dernière migration”

Questions similaires à “Laravel Rollback Dernière migration”

Plus de réponses similaires à “Laravel Rollback Dernière migration” dans PHP

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code