“Laravel Rollback Migrasi Terakhir” Kode Jawaban

Laravel Rollback Migrasi Terakhir

php artisan migrate:rollback --step=1
Eranot

rollback migrasi

php artisan migrate:rollback
Crazy Caterpillar

Laravel Rollback Semua Migrasi

php artisan migrate:reset
Mohamad

Rollback migrasi Laravel

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

Refresh Artisan

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 Migrasi Terakhir

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

Jawaban yang mirip dengan “Laravel Rollback Migrasi Terakhir”

Pertanyaan yang mirip dengan “Laravel Rollback Migrasi Terakhir”

Lebih banyak jawaban terkait untuk “Laravel Rollback Migrasi Terakhir” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya