Answers for "alter table in laravel migration file to drop foreign key and foreign key column"

PHP
0

laravel migration drop foreign keys

$table->dropIndex(['state']); // Drops index 'geo_state_index'
Posted by: Guest on November-30-2020
0

laravel migration drop foreign keys

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

Code answers related to "alter table in laravel migration file to drop foreign key and foreign key column"

Browse Popular Code Answers by Language