real_order_cards

This commit is contained in:
邓皓元 2019-03-28 18:32:15 +08:00
parent 33f97749f6
commit e9c34ae95d

View File

@ -47,23 +47,23 @@ class CreateRealOrderCardsTable extends Migration
$table->unique(['sim', 'deleted_at']);
});
Schema::table('real_added_order_renewal_cards', function (Blueprint $table) {
Schema::table('real_order_renewal_cards', function (Blueprint $table) {
$table->unique(['sim', 'order_id']);
});
Schema::table('real_added_order_renewal_package_cards', function (Blueprint $table) {
Schema::table('real_order_renewal_package_cards', function (Blueprint $table) {
$table->unique(['sim', 'order_id']);
});
Schema::table('real_added_order_flows_package_cards', function (Blueprint $table) {
Schema::table('real_order_flows_package_cards', function (Blueprint $table) {
$table->unique(['sim', 'order_id']);
});
Schema::table('real_added_order_optional_package_cards', function (Blueprint $table) {
Schema::table('real_order_optional_package_cards', function (Blueprint $table) {
$table->unique(['sim', 'order_id']);
});
Schema::table('real_added_order_additional_package_cards', function (Blueprint $table) {
Schema::table('real_order_additional_package_cards', function (Blueprint $table) {
$table->unique(['sim', 'order_id']);
});
}