Merge pull request #770 from vincentdh/patch-1
Create 2016_03_14_214710_add_support_three_decimal_taxes.php
This commit is contained in:
commit
9908652c96
1 changed files with 28 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue