db with history and solditem support