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();