mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#3628 index will added
This commit is contained in:
parent
8239d8fa5e
commit
4ee066aaf0
@ -8,12 +8,6 @@ class VisiosoftModuleAdvsAddIndexTable extends Migration
|
|||||||
{
|
{
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::table('files_files', function (Blueprint $table) {
|
|
||||||
$table->index('deleted_at');
|
|
||||||
$table->index('name');
|
|
||||||
$table->index('folder_id');
|
|
||||||
});
|
|
||||||
|
|
||||||
Schema::table('advs_advs', function (Blueprint $table) {
|
Schema::table('advs_advs', function (Blueprint $table) {
|
||||||
$table->index('deleted_at');
|
$table->index('deleted_at');
|
||||||
$table->index('cat1');
|
$table->index('cat1');
|
||||||
@ -23,10 +17,5 @@ class VisiosoftModuleAdvsAddIndexTable extends Migration
|
|||||||
$table->index('status');
|
$table->index('status');
|
||||||
$table->index('count_show_ad');
|
$table->index('count_show_ad');
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('page_link_type_pages_translations', function (Blueprint $table) {
|
|
||||||
$table->index('entry_id');
|
|
||||||
$table->index('locale');
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,22 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Anomaly\Streams\Platform\Database\Migration\Migration;
|
||||||
|
|
||||||
|
class VisiosoftModuleProfileAddIndexTable extends Migration
|
||||||
|
{
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('files_files', function (Blueprint $table) {
|
||||||
|
$table->index('deleted_at');
|
||||||
|
$table->index('name');
|
||||||
|
$table->index('folder_id');
|
||||||
|
});
|
||||||
|
|
||||||
|
Schema::table('page_link_type_pages_translations', function (Blueprint $table) {
|
||||||
|
$table->index('entry_id');
|
||||||
|
$table->index('locale');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user