“Rollback migrasi Laravel” 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

pengrajin php lihat migrasi terakhir

php artisan migrate:status
Crazy Caterpillar

Migrqte Laravel segar

$ 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
p2sias

Jawaban yang mirip dengan “Rollback migrasi Laravel”

Pertanyaan yang mirip dengan “Rollback migrasi Laravel”

Lebih banyak jawaban terkait untuk “Rollback migrasi Laravel” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya