Answers for "edit id migration laravel 7"

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
0

laravel drop table migration

Schema::drop('users');

Schema::dropIfExists('users');
Posted by: Guest on April-27-2020

Browse Popular Code Answers by Language