From c26b3b280a3c67efd7ccb120ce518ee23e1b6b79 Mon Sep 17 00:00:00 2001 From: Patrick Henninger Date: Sun, 6 Feb 2022 23:43:13 +0100 Subject: [PATCH] Fix for L6 --- .../2022_02_06_194000_create_shoppingcart_items_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/migrations/2022_02_06_194000_create_shoppingcart_items_table.php b/src/Database/migrations/2022_02_06_194000_create_shoppingcart_items_table.php index 8e4a05a..37ad8de 100644 --- a/src/Database/migrations/2022_02_06_194000_create_shoppingcart_items_table.php +++ b/src/Database/migrations/2022_02_06_194000_create_shoppingcart_items_table.php @@ -25,7 +25,7 @@ class CreateShoppingcartItemsTable extends Migration /* The price of the CartItem */ $table->unsignedBigInteger('price')->nullable(); - $table->unsignedFloat('discount_rate')->nullable(); + $table->float('discount_rate')->nullable(); $table->unsignedBigInteger('discount_fixed')->nullable(); $table->float('taxRate')->nullable();