Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../../database/seeders
الملفات الموجودة في هذا الـ Path:
.
..
CustomerPlanTableSeeder.php
CustomerTableSeeder.php
DatabaseSeeder.php
PlansTableSeeder.php
UserTableSeeder.php
مشاهدة ملف: UserTableSeeder.php
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class UserTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$users = [
'name' => 'Admin',
'email' => 'admin@demo.com',
'password' => bcrypt('123456'),
'remember_token' => null,
'created_at' => now(),
'updated_at' => now(),
'deleted_at' => null,
];
\App\Models\User::insert($users);
}
}