davide cucurnia
2024-01-30 9f6455d9b12bda65377e8501e00557982be9ff36
commit | author | age
9f6455 1 <?php
DC 2
3 namespace Database\Seeders;
4
5 use Illuminate\Database\Seeder;
6 use Illuminate\Support\Facades\DB;
7
8 class UsersTableSeeder extends Seeder
9 {
10     /**
11      * Run the database seeds.
12      *
13      * @return void
14      */
15     public function run()
16     {
17         DB::table('users')->insert([
18             'username' => 'vola01',
19             'email' => 'davide.cucurnia@vola.it',
20             'password' => bcrypt('Password01'),
21         ]);
22         DB::table('users')->insert([
23             'username' => 'vola02',
24             'email' => 'cristiano.mancini@vola.it',
25             'password' => bcrypt('Password02'),
26         ]);
27     }
28 }