Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2018-08-06 05:18:13 +00:00
committed by StyleCI Bot
parent 4ec6000d69
commit c547b2e438
41 changed files with 373 additions and 308 deletions

View File

@@ -23,13 +23,13 @@ class CreateWorkflowNameTable extends Migration
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('workflow_name');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('workflow_name');
}
}

View File

@@ -27,16 +27,16 @@ class CreateWorkflowRuleTable extends Migration
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('workflow_rules', function (Blueprint $table) {
$table->dropForeign('workflow_rules_1');
});
Schema::drop('workflow_rules');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('workflow_rules', function (Blueprint $table) {
$table->dropForeign('workflow_rules_1');
});
Schema::drop('workflow_rules');
}
}

View File

@@ -24,16 +24,16 @@ class CreateWorkflowActionTable extends Migration
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('workflow_action');
Schema::table('workflow_action', function (Blueprint $table) {
$table->dropForeign('workflow_action_idfk_1');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('workflow_action');
Schema::table('workflow_action', function (Blueprint $table) {
$table->dropForeign('workflow_action_idfk_1');
});
}
}

View File

@@ -20,7 +20,7 @@ class CreateBarNotificationsTable extends Migration
});
$version = \Config::get('app.version');
$date = date('Y-m-d H:i:s');
//\DB::table('bar_notifications')->insert(['key'=>'new-install','value'=>"Congrates ! You have installed $version",'created_at'=>$date]);
//\DB::table('bar_notifications')->insert(['key'=>'new-install','value'=>"Congrates ! You have installed $version",'created_at'=>$date]);
}
/**