Server IP : 103.11.96.170 / Your IP : 3.133.132.103 Web Server : Microsoft-IIS/10.0 System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64 User : elibrary.unsap.ac.id ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0777) : D:/localhost/grosir/database/seeds/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php use App\User; use Illuminate\Database\Seeder; class UsersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { User::create([ 'name' => 'Administrator', 'username' => 'admin', 'password' => 'secret', 'remember_token' => str_random(10), ]); } }