Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel drop foreign column

// Searched, laravel drop foreign column
Schema::table('users', function (Blueprint $table) {
    $table->dropColumn(['votes', 'avatar', 'location']);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #drop #foreign #column
ADD COMMENT
Topic
Name
6+9 =