|
@@ -14,7 +14,7 @@ class AddInxWeightSuggestToTablePost extends Migration
|
|
|
public function up()
|
|
|
{
|
|
|
Schema::table('post', function (Blueprint $table) {
|
|
|
- $table->index(['is_suggest', 'weight'], 'idx_suggest_weight');
|
|
|
+ $table->index('deleted_at', 'idx_deleted_at');
|
|
|
});
|
|
|
}
|
|
|
|