database/seeders/RoleSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('roles')->insert([
            ["nom" => "Admin"],
            ["nom" => "Webmaster"],
            ["nom" => "Visiteur"],
        ]);
    }
public function run ( ) { DB :: table ( 'roles' ) -> insert ( [ [ " nom " => " Admin " ] , [ " nom " => " Webmaster " ] , [ " nom " => " Visiteur " ] , ] ) ; }
Run the database seeds.
Run the database seeds .