Answers for "laravel drop foreign key on the fly on the controller"

PHP
1

laravel drop foreign key

// Primary table name, from Schema::table(<table>)
// Primary column, from $table->foreign(<column>)
$table->dropForeign('<table>_<column>_foreign');
Posted by: Guest on December-22-2021

Code answers related to "laravel drop foreign key on the fly on the controller"

Browse Popular Code Answers by Language