id(); $table->bigInteger('group_id')->unsigned()->index(); $table->string('name'); $table->string('slug')->nullable(); $table->text('abilities')->nullable(); $table->unique(['group_id', 'slug']); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('group_roles'); } }