diff --git a/addons/default/visiosoft/advs-module/migrations/2021_03_31_100145_visiosoft.module.advs__add_index_table.php b/addons/default/visiosoft/advs-module/migrations/2021_03_31_100145_visiosoft.module.advs__add_index_table.php new file mode 100644 index 000000000..5131fe938 --- /dev/null +++ b/addons/default/visiosoft/advs-module/migrations/2021_03_31_100145_visiosoft.module.advs__add_index_table.php @@ -0,0 +1,32 @@ +index('deleted_at'); + $table->index('name'); + $table->index('folder_id'); + }); + + Schema::table('advs_advs', function (Blueprint $table) { + $table->index('deleted_at'); + $table->index('cat1'); + $table->index('country_id'); + $table->index('city'); + $table->index('finish_at'); + $table->index('status'); + $table->index('count_show_ad'); + }); + + Schema::table('page_link_type_pages_translations', function (Blueprint $table) { + $table->index('entry_id'); + $table->index('locale'); + }); + } +} diff --git a/addons/default/visiosoft/cats-module/migrations/2021_03_31_104729_visiosoft.module.cats__add_index_table.php b/addons/default/visiosoft/cats-module/migrations/2021_03_31_104729_visiosoft.module.cats__add_index_table.php new file mode 100644 index 000000000..4d5e88e40 --- /dev/null +++ b/addons/default/visiosoft/cats-module/migrations/2021_03_31_104729_visiosoft.module.cats__add_index_table.php @@ -0,0 +1,24 @@ +index('deleted_at'); + $table->index('slug'); + $table->index('parent_category_id'); + $table->index('icon_id'); + $table->index('cat1'); + $table->index('country_id'); + $table->index('city'); + $table->index('finish_at'); + $table->index('status'); + $table->index('count_show_ad'); + }); + } +}