increments('id'); $table->integer('role_id'); $table->string('entity_type'); $table->integer('entity_id'); $table->string('action'); $table->boolean('has_permission')->default(false); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('entity_permissions'); } }