first migrate and config capybara