“Laravel Rollback letzte Migration” Code-Antworten

Laravel Rollback letzte Migration

php artisan migrate:rollback --step=1
Eranot

Migrationsrollback

php artisan migrate:rollback
Crazy Caterpillar

Laravel Rollback alle Migrationen

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

Handwerksanfrischung

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 letzte 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

Ähnliche Antworten wie “Laravel Rollback letzte Migration”

Fragen ähnlich wie “Laravel Rollback letzte Migration”

Weitere verwandte Antworten zu “Laravel Rollback letzte Migration” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen