Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

larael drop foreign key

Schema::table('posts', function (Blueprint $table) {
	$table->dropForeign(['category_id']);
});
 
PREVIOUS NEXT
Tagged: #larael #drop #foreign #key
ADD COMMENT
Topic
Name
1+6 =