mentors

mentors Git Source Tree


Root/app/database/seeds/RoleTableSeeder.php

<?php 

class RoleTableSeeder extends Seeder
{
	public function run()
	{
		DB::table('roles')->delete();

		Role::create(array(
			'name' => 'Mentor'
		));

		Role::create(array(
			'name' => 'Mentee'
		));	
	}
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.10700s using 11 queries.