silent-auction/database/migrations/2019_02_16_085927_create_judges_table.php

33 lines
633 B
PHP

<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateJudgesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('judges', function (Blueprint $table) {
$table->increments('id');
$table->string('judge_number');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('judges');
}
}