silent-auction/database/migrations/2019_02_13_160819_create_vehicles_table.php
2019-02-13 16:36:47 -05:00

38 lines
819 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateVehiclesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('vehicles', function (Blueprint $table) {
$table->increments('id');
$table->year('year');
$table->string('make');
$table->string('model');
$table->string('type');
$table->boolean('doNotJudge');
$table->integer('owner');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('vehicles');
}
}