From e3f48f9b8bb90b189c64c5c7cb63402debd14916 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 20 Dec 2020 12:05:20 +1100 Subject: [PATCH] Increase precision of product columsn --- ..._change_products_table_cost_resolution.php | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 database/migrations/2020_12_20_005609_change_products_table_cost_resolution.php diff --git a/database/migrations/2020_12_20_005609_change_products_table_cost_resolution.php b/database/migrations/2020_12_20_005609_change_products_table_cost_resolution.php new file mode 100644 index 000000000000..96cd7a95a3d4 --- /dev/null +++ b/database/migrations/2020_12_20_005609_change_products_table_cost_resolution.php @@ -0,0 +1,35 @@ +decimal('cost', 20, 6)->change(); + $table->decimal('price', 20, 6)->change(); + $table->decimal('quantity', 20, 6)->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +} + + + \ No newline at end of file