Larael soltar a chave estrangeira
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'
$table->dropPrimary('users_id_primary');