Removed unused view and database columns