#2471 down function removed at alter migration

This commit is contained in:
Muammer Top 2020-11-27 13:53:49 +03:00
parent 6f9dcba146
commit 3854e380d4
3 changed files with 0 additions and 75 deletions

View File

@ -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');
});
}
}

View File

@ -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');
});
}
}

View File

@ -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');
});
}
}