run migrations before running queries