From a74ede6cf75fd19a01bdafbdc13d432cc45036a2 Mon Sep 17 00:00:00 2001 From: vincentdh Date: Mon, 14 Mar 2016 21:49:52 -0400 Subject: [PATCH] Create 2016_03_14_214710_add_support_three_decimal_taxes.php Changes made to the DB to support 3 decimals tax rates. --- ...214710_add_support_three_decimal_taxes.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2016_03_14_214710_add_support_three_decimal_taxes.php diff --git a/database/migrations/2016_03_14_214710_add_support_three_decimal_taxes.php b/database/migrations/2016_03_14_214710_add_support_three_decimal_taxes.php new file mode 100644 index 000000000000..af35fc927564 --- /dev/null +++ b/database/migrations/2016_03_14_214710_add_support_three_decimal_taxes.php @@ -0,0 +1,28 @@ +decimal('rate', 13, 3)->change(); + }); + } + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('tax_rates', function($table) { + $table->decimal('rate', 13, 2)->change(); + }); + } +}