Remove unused columns from database