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

PHP Artisan Voir la dernière migration

php artisan migrate:status
Crazy Caterpillar

Laravel migrqte frais

$ 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

Réponses similaires à “Laravel Migration Rollback”

Questions similaires à “Laravel Migration Rollback”

Plus de réponses similaires à “Laravel Migration Rollback” dans PHP

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code