'50', 'site_name' => 'Snipe IT Asset Management', 'created_at' => $date, 'updated_at' => $date, 'user_id' => 1, ); // Delete all the old data DB::table('settings')->truncate(); // Insert the new posts Setting::insert($setting); } }