Answers for "db raw drop index laravel"

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

laravel make migration

php artisan make:migration CreateUsersTable
Posted by: Guest on May-04-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language