Merge branch 'master' of https://github.com/bagisto/bagisto into velocity-updated
This commit is contained in:
commit
ec12a677f6
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue