Commit 5d3ba19e by Vladislav

#21104 Перенос проекта в продакшн

1 parent 9b66d52c
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddIndex extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('goal_ad_groups', function (Blueprint $table) {
$table->index('external_id');
$table->index('updated_need');
$table->index('updated_self');
$table->index('reserve_create_at');
$table->index('reserve_update_at');
$table->index('deleted_at');
});
Schema::table('ad_groups', function (Blueprint $table) {
// $table->index('deleted_at');
});
Schema::table('keywords', function (Blueprint $table) {
$table->index('deleted_at');
});
Schema::table('bid_modifiers', function (Blueprint $table) {
$table->index('deleted_at');
});
Schema::table('advertisements', function (Blueprint $table) {
$table->index('deleted_at');
});
Schema::table('dictionary_campaigns', function (Blueprint $table) {
$table->index('external_id');
$table->index('enabled');
$table->index('synced');
$table->index('updated');
$table->index('deleted_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!