From d8241a18acdc1d83a06f06275e2a13c96951ef9e Mon Sep 17 00:00:00 2001 From: Blair2004 Date: Fri, 7 May 2021 13:04:18 +0100 Subject: [PATCH] Update - Fixed : missing column --- .../2020_06_20_000000_create_procurements_products_table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/create-tables/2020_06_20_000000_create_procurements_products_table.php b/database/migrations/create-tables/2020_06_20_000000_create_procurements_products_table.php index de9d87a7b..aa546fe92 100755 --- a/database/migrations/create-tables/2020_06_20_000000_create_procurements_products_table.php +++ b/database/migrations/create-tables/2020_06_20_000000_create_procurements_products_table.php @@ -28,6 +28,7 @@ public function up() $table->integer( 'product_id' ); $table->float( 'purchase_price', 11, 5 )->default(0); $table->float( 'quantity', 11, 5 ); + $table->float( 'available_quantity', 11, 5 ); $table->integer( 'tax_group_id' ); $table->string( 'barcode' )->nullable(); $table->datetime( 'expiration_date' )->nullable();