ok
Direktori : /home2/selectio/www/3-idiots/database/seeds/ |
Current File : //home2/selectio/www/3-idiots/database/seeds/AdminTable.php |
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Support\Str; class AdminTable extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('admins')->insert([ 'id' => 1, 'name' => 'Master Admin', 'phone' => '01759412381', 'email' => 'admin@admin.com', 'admin_role_id' => 1, 'image' => 'def.png', 'password' => bcrypt(12345678), 'remember_token' =>Str::random(10), ]); } }