mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 11:24:28 -04:00
Create 2016_03_14_214710_add_support_three_decimal_taxes.php
Changes made to the DB to support 3 decimals tax rates.
This commit is contained in:
parent
25b0957a7f
commit
a74ede6cf7
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
|
class AddSupportThreeDecimalTaxes extends Migration {
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table('tax_rates', function($table) {
|
||||||
|
$table->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();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user