/** * Run the database seeds. * * @return void */ public function run() { $infoConfig = ['news' => 0, 'tenders' => 0, 'vacancies' => 0, 'promos' => 0, 'expert-advices' => 0]; $object = InfoConfig::create($infoConfig); $object->save(); }