integer('group_id')->unsigned(); $table->string('permission', 100); $table->primary(['group_id', 'permission']); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('permissions'); } }