📜  laravel 删除索引 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:43.409000             🧑  作者: Mango

代码示例1
Schema::table('geo', function (Blueprint $table) {
    $table->dropIndex(['state']); // Drops index 'geo_state_index'
});