6
0
Fork 0
release
李静 2022-01-13 11:20:04 +08:00
parent 5814642bfb
commit 27dc7dd04c
1 changed files with 2 additions and 1 deletions

View File

@ -23,8 +23,9 @@ class CreateDealerManagerSalesLogsTable extends Migration
$table->timestamp('order_completed_at')->nullable()->comment('订单完成时间');
$table->timestamps();
$table->index('user_id');
$table->unique(['user_id', 'order_id', 'product_id']);
$table->index('order_id');
$table->index('product_id');
});
}