Answers for "laravel delete column migration"

1

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
Posted by: Guest on December-01-2020
0

laravel migration drop foreign keys

$table->dropPrimary('users_id_primary');
Posted by: Guest on November-30-2020

Code answers related to "laravel delete column migration"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language