Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel drop foreign key

// Primary table name, from Schema::table(<table>)
// Primary column, from $table->foreign(<column>)
$table->dropForeign('<table>_<column>_foreign');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #drop #foreign #key
ADD COMMENT
Topic
Name
6+8 =