database/seeds/SupplierSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Supplier::create([
            'nama'    =>  'Default',
        ]);
        Supplier::create([
            'nama'    =>  'Toko Agung',
            'alamat'    =>  'Bantul',
        ]);
    }
public function run ( ) { Supplier :: create ( [ 'nama' => 'Default' , ] ) ; Supplier :: create ( [ 'nama' => 'Toko Agung' , 'alamat' => 'Bantul' , ] ) ; }
Run the database seeds.
Run the database seeds .