Fix database cache expunge issues (#1489149) - added 'expires' column