This commit is contained in:
邓皓元 2019-05-13 09:59:21 +08:00
parent f9b442ff41
commit 76189c6029

View File

@ -44,7 +44,7 @@ class CreateRealOrderCardsTable extends Migration
Schema::table('real_order_cards', function (Blueprint $table) {
$table->unique(['sim', 'order_id']);
$table->unique(['sim', 'refunded_at', 'deleted_at']);
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
$table->comment("RD销售订单关联表");
});