check if table exists before running migrations
that could have been already installed