6
0
Fork 0
release
李静 2022-01-14 10:50:27 +08:00
parent ca047281ef
commit e5e59293a4
2 changed files with 4 additions and 0 deletions

View File

@ -24,8 +24,10 @@ class CreateDealerManagerSalesLogsTable extends Migration
$table->timestamps();
$table->unique(['user_id', 'order_id', 'product_id']);
$table->index(['user_id', 'order_completed_at']);
$table->index('order_id');
$table->index('product_id');
$table->index('order_completed_at');
});
}

View File

@ -25,8 +25,10 @@ class CreateDealerManageSubsidyLogsTable extends Migration
$table->timestamps();
$table->unique(['user_id', 'order_id', 'product_id']);
$table->index(['user_id', 'order_completed_at']);
$table->index('order_id');
$table->index('product_id');
$table->index('order_completed_at');
});
}