for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePcmmRolesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create('pcmm_roles', function (Blueprint $table) {
$table->increments('id');
$table->string('name', 100);
$table->boolean('is_active')->default(true);
$table->boolean('is_admin')->default(false);
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists('pcmm_roles');