/** * Run the migrations. * * @return void */ public function up() { Schema::table('roles', function (Blueprint $table) { $table->string('description')->nullable()->after('title'); }); Role::create(['name' => 'membership', 'title' => 'Membership', 'description' => 'Helping new members get started at Build Brighton']); Role::create(['name' => 'comms', 'title' => 'Comms', 'description' => 'Letting the rest of the world know about Build Brighton ']); Role::create(['name' => 'metalworking', 'title' => 'Metalworking', 'The Machinists group']); Role::create(['name' => 'woodworking', 'title' => 'Woodworking']); Role::create(['name' => 'safety', 'title' => 'Health and Safety']); Role::create(['name' => 'trustees', 'title' => 'Trustees', 'description' => 'The members (directors) with legal responsibility for Build Brighton']); }
/** * Run the migrations. * * @return void */ public function up() { Role::create(['name' => 'equipment', 'title' => 'Manage Equipment']); }
/** * Run the migrations. * * @return void */ public function up() { Role::create(['name' => 'finance', 'title' => 'Finance', 'description' => 'Manage member subscriptions, payments and refunds']); }
/** * Run the migrations. * * @return void */ public function up() { Role::findByName('infra')->update(['name' => 'acs', 'title' => 'Access Control', 'description' => 'Access control systems and all things RFID']); Role::create(['name' => 'infra', 'title' => 'Infrastructure', 'description' => 'Building infrastructure, electrics, lighting, etc...']); }
/** * Run the migrations. * * @return void */ public function up() { Role::create(['name' => '3dprinting', 'title' => '3D Printing', 'description' => 'Managing and helping with Build Brighton\'s 3D printers']); }
/** * Run the migrations. * * @return void */ public function up() { Role::create(['name' => 'storage', 'title' => 'Member Storage']); }
/** * Run the migrations. * * @return void */ public function up() { Role::create(['name' => 'infra', 'title' => 'Infrastructure']); Role::create(['name' => 'laser', 'title' => 'Laser Team']); }
/** * Run the migrations. * * @return void */ public function up() { Role::create(['name' => 'admin', 'title' => 'Admin']); }