From 5e97a8bf7be7098e7be7236c61f2fb6a5e1a1a07 Mon Sep 17 00:00:00 2001 From: vedatakd Date: Mon, 22 Feb 2021 12:26:48 +0300 Subject: [PATCH] fixed index --- ...49_visiosoft.module.advs__alter_index_to_all_table.php | 8 ++++++-- ...12_visiosoft.module.cats__alter_index_to_all_table.php | 4 ---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/default/visiosoft/advs-module/migrations/2020_11_27_072549_visiosoft.module.advs__alter_index_to_all_table.php b/addons/default/visiosoft/advs-module/migrations/2020_11_27_072549_visiosoft.module.advs__alter_index_to_all_table.php index 06465ed17..519cc8852 100644 --- a/addons/default/visiosoft/advs-module/migrations/2020_11_27_072549_visiosoft.module.advs__alter_index_to_all_table.php +++ b/addons/default/visiosoft/advs-module/migrations/2020_11_27_072549_visiosoft.module.advs__alter_index_to_all_table.php @@ -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'); }); } diff --git a/addons/default/visiosoft/cats-module/migrations/2020_11_27_073512_visiosoft.module.cats__alter_index_to_all_table.php b/addons/default/visiosoft/cats-module/migrations/2020_11_27_073512_visiosoft.module.cats__alter_index_to_all_table.php index 85b86f7c9..7a835fcf3 100644 --- a/addons/default/visiosoft/cats-module/migrations/2020_11_27_073512_visiosoft.module.cats__alter_index_to_all_table.php +++ b/addons/default/visiosoft/cats-module/migrations/2020_11_27_073512_visiosoft.module.cats__alter_index_to_all_table.php @@ -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'); - }); } }