From 3b2f7cec04ab535291c2cb9494f38364e34a7817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=BB=BA=E7=82=8A?= <924182103@qq.com> Date: Mon, 22 Jul 2024 16:29:45 +0800 Subject: [PATCH] migrate commit --- .../2022_08_05_093629_create_business_orders_table.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/database/migrations/2022_08_05_093629_create_business_orders_table.php b/database/migrations/2022_08_05_093629_create_business_orders_table.php index 360fe04..60590fa 100644 --- a/database/migrations/2022_08_05_093629_create_business_orders_table.php +++ b/database/migrations/2022_08_05_093629_create_business_orders_table.php @@ -61,7 +61,8 @@ class CreateBusinessOrdersTable extends Migration // 索引 $table->unique(['shop_id', 'order_sn']); $table->index(['shop_id', 'participate_no']); - $table->index(['shop_id', 'confirm_at', 'after_sales_status', 'cancel_status', 'is_supplier']); + $table->index(['shop_id', 'confirm_at', 'after_sales_status', 'cancel_status', 'is_supplier'] + ,"shop_id_confirm_at_composite_index"); }); }