Larael Drop Key Asing
Schema::table('posts', function (Blueprint $table) {
$table->dropForeign(['category_id']);
});
Fahim Foysal
Schema::table('posts', function (Blueprint $table) {
$table->dropForeign(['category_id']);
});
$table->dropIndex(['state']); // Drops index 'geo_state_index'