Files
w4rpservices/database/migrations/2018_10_24_033452_create_config_table.php
2018-10-23 23:11:45 -05:00

34 lines
708 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateConfigTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('config', function (Blueprint $table) {
$table->decimal('RentalTax', 5,2);
$table->decimal('AllyRentalTax', 5, 2);
$table->decimal('RefineRate', 5, 2);
$table->integer('RentalTime');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('config');
}
}