Remove unused functions in database for tvshows