/**
  * Run the migrations.
  *
  * @return void
  */
 public function up()
 {
     Schema::create(\PR::getConfig()['tables']['profiles'], function (Blueprint $table) {
         $table->increments('id');
         $table->string('name');
         $table->string('alias');
         $table->string('slug');
         $table->softDeletes();
         $table->timestamps();
     });
 }
 /**
  * Run the migrations.
  *
  * @return void
  */
 public function up()
 {
     Schema::create(\PR::getConfig()['tables']['roles'], function (Blueprint $table) {
         $table->increments('id');
         $table->integer(\PR::getConfig()['link']['id'])->unsigned();
         $table->foreign(\PR::getConfig()['link']['id'])->references('id')->on(\PR::getConfig()['link']['table'])->onDelete('cascade');
         $table->integer(\PR::getConfig()['tables']['profiles'] . '_id')->unsigned();
         $table->foreign(\PR::getConfig()['tables']['profiles'] . '_id')->references('id')->on(\PR::getConfig()['tables']['profiles'])->onDelete('cascade');
         $table->timestamps();
     });
 }
 /**
  * Run the migrations.
  *
  * @return void
  */
 public function up()
 {
     Schema::create(\PR::getConfig()['tables']['access'], function (Blueprint $table) {
         $table->increments('id');
         $table->integer(\PR::getConfig()['tables']['profiles'] . '_id')->unsigned();
         $table->foreign(\PR::getConfig()['tables']['profiles'] . '_id')->references('id')->on(\PR::getConfig()['tables']['profiles'])->onDelete('cascade');
         $table->string('route_action');
         $table->string('route_name');
         $table->string('route_path');
         $table->timestamps();
     });
 }