Merge branch 'master' of https://github.com/bagisto/bagisto into velocity-updated

This commit is contained in:
shubhammehrotra.symfony@webkul.com 2020-02-20 10:56:25 +05:30
commit ec12a677f6
3 changed files with 18 additions and 0 deletions

View File

@ -56,6 +56,8 @@
* #2459 [fixed] - shipping address field warning for guest customer not translated.
* #2463 [fixed] - Tax rate is not update on same product.
* #2469 [fixed] - Displaying wrong amount for bundle product in cart.
* #2479 [fixed] - showing total review in recent view product list.

View File

@ -47,6 +47,16 @@ class CreateCartRulesTable extends Migration
*/
public function down()
{
Schema::table('cart_rule_customers', function (Blueprint $table) {
$table->dropForeign('cart_rule_customers_cart_rule_id_foreign');
});
Schema::table('cart_rule_coupons', function (Blueprint $table) {
$table->dropForeign('cart_rule_coupons_cart_rule_id_foreign');
});
// Schema::dropIfExists('cart_rule_coupons');
Schema::dropIfExists('cart_rules');
}
}

View File

@ -39,6 +39,12 @@ class CreateCustomersTable extends Migration
*/
public function down()
{
Schema::table('cart_rule_customers', function (Blueprint $table) {
$table->dropForeign('cart_rule_customers_customer_id_foreign');
});
// Schema::dropIfExists('cart_rule_customers');
Schema::dropIfExists('customers');
}
}