order_id
This commit is contained in:
parent
f9b442ff41
commit
76189c6029
@ -44,7 +44,7 @@ class CreateRealOrderCardsTable extends Migration
|
|||||||
|
|
||||||
Schema::table('real_order_cards', function (Blueprint $table) {
|
Schema::table('real_order_cards', function (Blueprint $table) {
|
||||||
$table->unique(['sim', 'order_id']);
|
$table->unique(['sim', 'order_id']);
|
||||||
$table->unique(['sim', 'refunded_at', 'deleted_at']);
|
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
||||||
$table->comment("RD销售订单关联表");
|
$table->comment("RD销售订单关联表");
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -54,22 +54,22 @@ class CreateRealOrderCardsTable extends Migration
|
|||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('real_order_renewal_package_cards', function (Blueprint $table) {
|
Schema::table('real_order_renewal_package_cards', function (Blueprint $table) {
|
||||||
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
||||||
$table->comment("RD续费包订单关联表");
|
$table->comment("RD续费包订单关联表");
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('real_order_flows_package_cards', function (Blueprint $table) {
|
Schema::table('real_order_flows_package_cards', function (Blueprint $table) {
|
||||||
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
||||||
$table->comment("RD加油包订单关联表");
|
$table->comment("RD加油包订单关联表");
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('real_order_optional_package_cards', function (Blueprint $table) {
|
Schema::table('real_order_optional_package_cards', function (Blueprint $table) {
|
||||||
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
||||||
$table->comment("RD可选包订单关联表");
|
$table->comment("RD可选包订单关联表");
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('real_order_additional_package_cards', function (Blueprint $table) {
|
Schema::table('real_order_additional_package_cards', function (Blueprint $table) {
|
||||||
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
$table->unique(['sim', 'order_id', 'refunded_at', 'deleted_at']);
|
||||||
$table->comment("RD附加包订单关联表");
|
$table->comment("RD附加包订单关联表");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user