Merge pull request #960 from openclassify/vedatak

fixed index
This commit is contained in:
Dia Shalabi 2021-02-24 12:42:37 +03:00 committed by GitHub
commit d2a17e7384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

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

View File

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