Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

larael drop foreign key

Schema::table('posts', function (Blueprint $table) {
	$table->dropForeign(['category_id']);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #larael #drop #foreign #key
ADD COMMENT
Topic
Name
3+4 =