drop constraint in larvel migration code example
Example 1: laravel migration drop foreign keys
$table->dropPrimary('users_id_primary');
Example 2: laravel migration drop foreign keys
$table->dropIndex(['state']); // Drops index 'geo_state_index'