Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel dropIndex

Schema::table('geo', function (Blueprint $table) {
    $table->dropIndex(['state']); // Drops index 'geo_state_index'
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #dropIndex
ADD COMMENT
Topic
Name
5+1 =