Applied fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
be5df5334f
commit
d637c2b23f
@@ -3,46 +3,43 @@
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateGroupsTable extends Migration {
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('groups', function(Blueprint $table)
|
||||
{
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->boolean('group_status');
|
||||
$table->boolean('can_create_ticket');
|
||||
$table->boolean('can_edit_ticket');
|
||||
$table->boolean('can_post_ticket');
|
||||
$table->boolean('can_close_ticket');
|
||||
$table->boolean('can_assign_ticket');
|
||||
$table->boolean('can_transfer_ticket');
|
||||
$table->boolean('can_delete_ticket');
|
||||
$table->boolean('can_ban_email');
|
||||
$table->boolean('can_manage_canned');
|
||||
$table->boolean('can_manage_faq');
|
||||
$table->boolean('can_view_agent_stats');
|
||||
$table->boolean('department_access');
|
||||
$table->string('admin_notes');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('groups');
|
||||
}
|
||||
class CreateGroupsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('groups', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->boolean('group_status');
|
||||
$table->boolean('can_create_ticket');
|
||||
$table->boolean('can_edit_ticket');
|
||||
$table->boolean('can_post_ticket');
|
||||
$table->boolean('can_close_ticket');
|
||||
$table->boolean('can_assign_ticket');
|
||||
$table->boolean('can_transfer_ticket');
|
||||
$table->boolean('can_delete_ticket');
|
||||
$table->boolean('can_ban_email');
|
||||
$table->boolean('can_manage_canned');
|
||||
$table->boolean('can_manage_faq');
|
||||
$table->boolean('can_view_agent_stats');
|
||||
$table->boolean('department_access');
|
||||
$table->string('admin_notes');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('groups');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user