Files
w4rpservices/database/migrations/2018_10_24_033452_create_config_table.php
2018-10-25 22:40:14 -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');
}
}