fixed bug in DBCache where expires column was DATETIME not INTEGER