mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #831 from openclassify/muammertop
#2471 Added migrations for index to entry_id
This commit is contained in:
commit
d775f313a4
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Anomaly\Streams\Platform\Database\Migration\Migration;
|
||||
|
||||
class VisiosoftModuleAdvsAlterIndexToAllTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
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');
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Anomaly\Streams\Platform\Database\Migration\Migration;
|
||||
|
||||
class VisiosoftModuleCatsAlterIndexToAllTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('cats_category_translations', function (Blueprint $table) {
|
||||
$table->index('entry_id');
|
||||
});
|
||||
|
||||
Schema::table('cats_placeholderforsearch_translations', function (Blueprint $table) {
|
||||
$table->index('entry_id');
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Anomaly\Streams\Platform\Database\Migration\Migration;
|
||||
|
||||
class VisiosoftModuleLocationAlterIndexToAllTable extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
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