<?php class RoleTableSeeder extends Seeder { public function run() { DB::table('roles')->delete(); Role::create(array( 'name' => 'Mentor' )); Role::create(array( 'name' => 'Mentee' )); } }
Download this file