You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
471 B
23 lines
471 B
<?php |
|
|
|
namespace Database\Seeders; |
|
|
|
use App\Models\Roles; |
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents; |
|
use Illuminate\Database\Seeder; |
|
use DB; |
|
|
|
class RolesTableSeeder extends Seeder |
|
{ |
|
/** |
|
* Run the database seeds. |
|
*/ |
|
public function run(): void |
|
{ |
|
DB::table('roles')->insert(['rol'=>'Sistemas']); |
|
DB::table('roles')->insert(['rol'=>'Recursos Humanos']); |
|
DB::table('roles')->insert(['rol'=>'Empleado']); |
|
|
|
|
|
} |
|
}
|
|
|