feat: add app and database modules
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class UsersTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
\DB::table('users')->delete();
|
||||
|
||||
\DB::table('users')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => 'Admin',
|
||||
'email' => 'admin@biiproject.com',
|
||||
'email_verified_at' => '2026-05-12 22:01:14',
|
||||
'password' => '$2y$12$b3xJdw.sj00MbqWychUNEuOS/ZYL8Hp8suXrtAsBIW6bmzqTBQZES',
|
||||
'remember_token' => NULL,
|
||||
'created_at' => '2026-05-12 22:01:14',
|
||||
'updated_at' => '2026-05-12 22:01:14',
|
||||
'password_changed_at' => NULL,
|
||||
'username' => NULL,
|
||||
'phone_number' => NULL,
|
||||
'created_by' => NULL,
|
||||
'updated_by' => NULL,
|
||||
'deleted_at' => NULL,
|
||||
'is_active' => true,
|
||||
'last_session_id' => NULL,
|
||||
'google_id' => NULL,
|
||||
'facebook_id' => NULL,
|
||||
'github_id' => NULL,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'name' => 'User',
|
||||
'email' => 'user@biiproject.com',
|
||||
'email_verified_at' => '2026-05-12 22:01:15',
|
||||
'password' => '$2y$12$bKXz5NL0DE5P0HLbooNQU.sLWt21qAD08Pw.m75pX3i69xvgbxhRu',
|
||||
'remember_token' => NULL,
|
||||
'created_at' => '2026-05-12 22:01:15',
|
||||
'updated_at' => '2026-05-13 16:08:00',
|
||||
'password_changed_at' => NULL,
|
||||
'username' => NULL,
|
||||
'phone_number' => NULL,
|
||||
'created_by' => NULL,
|
||||
'updated_by' => NULL,
|
||||
'deleted_at' => NULL,
|
||||
'is_active' => true,
|
||||
'last_session_id' => NULL,
|
||||
'google_id' => NULL,
|
||||
'facebook_id' => NULL,
|
||||
'github_id' => NULL,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => 'Developer',
|
||||
'email' => 'developer@biiproject.com',
|
||||
'email_verified_at' => '2026-05-12 22:01:15',
|
||||
'password' => '$2y$12$6O6erPgiw75ivUASdm95tOEHBG4bCnRjxIygFHH3IPf4EJkVokqrK',
|
||||
'remember_token' => NULL,
|
||||
'created_at' => '2026-05-12 22:01:15',
|
||||
'updated_at' => '2026-05-14 22:57:49',
|
||||
'password_changed_at' => NULL,
|
||||
'username' => NULL,
|
||||
'phone_number' => NULL,
|
||||
'created_by' => NULL,
|
||||
'updated_by' => NULL,
|
||||
'deleted_at' => NULL,
|
||||
'is_active' => true,
|
||||
'last_session_id' => 'AFghrj0VNIgvVm1q5pJn0U1x0TnJwX30srp3yKp9',
|
||||
'google_id' => NULL,
|
||||
'facebook_id' => NULL,
|
||||
'github_id' => NULL,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'name' => 'Debe',
|
||||
'email' => 'debesocial@gmail.com',
|
||||
'email_verified_at' => '2026-05-14 23:20:40',
|
||||
'password' => '$2y$12$LQ1wN1Ws28SmKvZuSG.JdOHBp5FscKsKrXy3V5pO5zPDnBymU2Yku',
|
||||
'remember_token' => 'Bp4HtFWjgAL4Xt9oBqxrCMfE8zQjDBD7ErGwvHDIY3nKNOPdtItItfsyrVkt',
|
||||
'created_at' => '2026-05-14 23:20:23',
|
||||
'updated_at' => '2026-05-14 23:22:44',
|
||||
'password_changed_at' => '2026-05-14 23:20:40',
|
||||
'username' => 'Debe',
|
||||
'phone_number' => NULL,
|
||||
'created_by' => NULL,
|
||||
'updated_by' => NULL,
|
||||
'deleted_at' => NULL,
|
||||
'is_active' => true,
|
||||
'last_session_id' => NULL,
|
||||
'google_id' => NULL,
|
||||
'facebook_id' => NULL,
|
||||
'github_id' => NULL,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user