This commit is contained in:
glovetleong
2021-06-17 09:53:04 +08:00
commit 8fa80e4a1a
2382 changed files with 196486 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\DB;
class AdminsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('admins')->insert([
[
'id' => 1,
'name' => 'Glovetloxad',
'email' => 'glovet@unity.com',
'password' => bcrypt('pass123'),
'img' => null,
'status' => 1,
'created_by' => null,
'updated_by' => null,
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s')
],
[
'id' => 2,
'name' => 'The One',
'email' => 'admin@unity.com',
'password' => bcrypt('pass123'),
'img' => null,
'status' => 1,
'created_by' => null,
'updated_by' => null,
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s')
]
]);
}
}