From 3854e380d440ae9e314a7853d43cc162cf895f4b Mon Sep 17 00:00:00 2001 From: Muammer Top Date: Fri, 27 Nov 2020 13:53:49 +0300 Subject: [PATCH] #2471 down function removed at alter migration --- ....module.advs__alter_index_to_all_table.php | 21 ------------ ....module.cats__alter_index_to_all_table.php | 21 ------------ ...ule.location__alter_index_to_all_table.php | 33 ------------------- 3 files changed, 75 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 1fb164022..06465ed17 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 @@ -6,11 +6,6 @@ use Anomaly\Streams\Platform\Database\Migration\Migration; class VisiosoftModuleAdvsAlterIndexToAllTable extends Migration { - /** - * Run the migrations. - * - * @return void - */ public function up() { Schema::table('advs_productoptions_translations', function (Blueprint $table) { @@ -21,20 +16,4 @@ class VisiosoftModuleAdvsAlterIndexToAllTable extends Migration $table->index('entry_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('advs_productoptions_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - - Schema::table('advs_productoptions_value_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 a0531a7d8..85b86f7c9 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 @@ -6,11 +6,6 @@ use Anomaly\Streams\Platform\Database\Migration\Migration; class VisiosoftModuleCatsAlterIndexToAllTable extends Migration { - /** - * Run the migrations. - * - * @return void - */ public function up() { Schema::table('cats_category_translations', function (Blueprint $table) { @@ -21,20 +16,4 @@ class VisiosoftModuleCatsAlterIndexToAllTable extends Migration $table->index('entry_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('cats_category_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - - Schema::table('cats_placeholderforsearch_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - } } diff --git a/addons/default/visiosoft/location-module/migrations/2020_11_27_071503_visiosoft.module.location__alter_index_to_all_table.php b/addons/default/visiosoft/location-module/migrations/2020_11_27_071503_visiosoft.module.location__alter_index_to_all_table.php index 51229f5c4..21ea24d2b 100644 --- a/addons/default/visiosoft/location-module/migrations/2020_11_27_071503_visiosoft.module.location__alter_index_to_all_table.php +++ b/addons/default/visiosoft/location-module/migrations/2020_11_27_071503_visiosoft.module.location__alter_index_to_all_table.php @@ -6,11 +6,6 @@ use Anomaly\Streams\Platform\Database\Migration\Migration; class VisiosoftModuleLocationAlterIndexToAllTable extends Migration { - /** - * Run the migrations. - * - * @return void - */ public function up() { Schema::table('location_cities_translations', function (Blueprint $table) { @@ -33,32 +28,4 @@ class VisiosoftModuleLocationAlterIndexToAllTable extends Migration $table->index('entry_id'); }); } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('location_cities_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - - Schema::table('location_countries_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - - Schema::table('location_districts_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - - Schema::table('location_neighborhoods_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - - Schema::table('location_village_translations', function (Blueprint $table) { - $table->index('entry_id'); - }); - } }