mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
#2471 down function removed at alter migration
This commit is contained in:
parent
6f9dcba146
commit
3854e380d4
@ -6,11 +6,6 @@ use Anomaly\Streams\Platform\Database\Migration\Migration;
|
|||||||
|
|
||||||
class VisiosoftModuleAdvsAlterIndexToAllTable extends Migration
|
class VisiosoftModuleAdvsAlterIndexToAllTable extends Migration
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Run the migrations.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('advs_productoptions_translations', function (Blueprint $table) {
|
Schema::table('advs_productoptions_translations', function (Blueprint $table) {
|
||||||
@ -21,20 +16,4 @@ class VisiosoftModuleAdvsAlterIndexToAllTable extends Migration
|
|||||||
$table->index('entry_id');
|
$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');
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,11 +6,6 @@ use Anomaly\Streams\Platform\Database\Migration\Migration;
|
|||||||
|
|
||||||
class VisiosoftModuleCatsAlterIndexToAllTable extends Migration
|
class VisiosoftModuleCatsAlterIndexToAllTable extends Migration
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Run the migrations.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('cats_category_translations', function (Blueprint $table) {
|
Schema::table('cats_category_translations', function (Blueprint $table) {
|
||||||
@ -21,20 +16,4 @@ class VisiosoftModuleCatsAlterIndexToAllTable extends Migration
|
|||||||
$table->index('entry_id');
|
$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');
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,11 +6,6 @@ use Anomaly\Streams\Platform\Database\Migration\Migration;
|
|||||||
|
|
||||||
class VisiosoftModuleLocationAlterIndexToAllTable extends Migration
|
class VisiosoftModuleLocationAlterIndexToAllTable extends Migration
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Run the migrations.
|
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('location_cities_translations', function (Blueprint $table) {
|
Schema::table('location_cities_translations', function (Blueprint $table) {
|
||||||
@ -33,32 +28,4 @@ class VisiosoftModuleLocationAlterIndexToAllTable extends Migration
|
|||||||
$table->index('entry_id');
|
$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');
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user