run migrations on primary db server