clean up database for unused columns