database/seeds/KasirSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Kasir::create([
            'umur'    =>  '20',
            'alamat'    =>  'Sleman',
            'user_id'    =>  '3',
        ]);
    }
public function run ( ) { Kasir :: create ( [ 'umur' => '20' , 'alamat' => 'Sleman' , 'user_id' => '3' , ] ) ; }
Run the database seeds.
Run the database seeds .