remove unused deploy tables in empty sql