35 lines
545 B
PHP
35 lines
545 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
/**
|
|
* Class CreateSignersTable.
|
|
*/
|
|
class CreateSignersTable extends Migration
|
|
{
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up()
|
|
{
|
|
Schema::create('signers', function(Blueprint $table) {
|
|
$table->increments('id');
|
|
$table->string('name');
|
|
$table->string('description')->nullable();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::drop('signers');
|
|
}
|
|
}
|