2019-02-13 16:36:47 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
|
2019-07-11 20:55:45 -04:00
|
|
|
class CreateJudgesTable extends Migration
|
2019-02-13 16:36:47 -05:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
2019-07-11 20:55:45 -04:00
|
|
|
Schema::create('judges', function (Blueprint $table) {
|
2019-02-13 16:36:47 -05:00
|
|
|
$table->increments('id');
|
2019-07-11 20:55:45 -04:00
|
|
|
$table->string('judge_number');
|
2019-02-13 16:36:47 -05:00
|
|
|
$table->timestamps();
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
2019-07-11 20:55:45 -04:00
|
|
|
Schema::dropIfExists('judges');
|
2019-02-13 16:36:47 -05:00
|
|
|
}
|
|
|
|
}
|