Answers for "laravel raw drop index"

PHP
0

laravel dropIndex

Schema::table('geo', function (Blueprint $table) {
    $table->dropIndex(['state']); // Drops index 'geo_state_index'
});
Posted by: Guest on July-28-2020
2

php artisan see last migration

php artisan migrate:status
Posted by: Guest on May-06-2020

Browse Popular Code Answers by Language