check if database tables exist