<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; class CreateBixoGroupUsersTable extends Migration { /* * Run the migrations. * * @return void */ public function up() { /* * Table: bixo_group_users */ Schema::create('bixo_group_users', function ($table) { $table->increments('id'); $table->integer('group_id')->nullable(); $table->integer('user_id')->nullable(); $table->enum('role', ['Yes', 'No'])->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('bixo_group_users'); } }