sales table design upgrade