migrate tables to lowercase