fixed index

This commit is contained in:
vedatakd 2021-02-22 12:26:48 +03:00
parent 8eab51e20e
commit 5e97a8bf7b
2 changed files with 6 additions and 6 deletions

View File

@ -8,11 +8,15 @@ class VisiosoftModuleAdvsAlterIndexToAllTable extends Migration
{
public function up()
{
Schema::table('advs_productoptions_translations', function (Blueprint $table) {
Schema::table('advs_productoptions_value_translations', function (Blueprint $table) {
$table->index('entry_id');
});
Schema::table('advs_advs_translations', function (Blueprint $table) {
$table->index('entry_id');
});
Schema::table('advs_productoptions_value_translations', function (Blueprint $table) {
Schema::table('advs_productoptions_translations', function (Blueprint $table) {
$table->index('entry_id');
});
}

View File

@ -11,9 +11,5 @@ class VisiosoftModuleCatsAlterIndexToAllTable extends Migration
Schema::table('cats_category_translations', function (Blueprint $table) {
$table->index('entry_id');
});
Schema::table('cats_placeholderforsearch_translations', function (Blueprint $table) {
$table->index('entry_id');
});
}
}