예제 #1
0
 public function run()
 {
     App\Jabatan::truncate();
     $data = array(array('nama' => 'Ketua'), array('nama' => 'Wakil'), array('nama' => 'Sekretaris'), array('nama' => 'Bendahara'), array('nama' => 'Anggota'));
     DB::table('app_jabatan')->insert($data);
 }
예제 #2
0
 public function run()
 {
     App\Jabatan::truncate();
     $data = array(array('nama' => 'Ketua'), array('nama' => 'Anggota'));
     DB::table('app_jabatan')->insert($data);
 }