support rotate db table