<p>ok it's indeed more complicated than I though.</p>

<p>As at least in some cases on a fresh VM, it's required to run <code>rake db:migrate RAILS_ENV=test</code>.</p>

<p>Should it be added to the provisioning script anyway? Considering that whether the tests do that work or not should change the total time of the process.</p>

<p>It's only to remove one more manual step for setting up a development environment.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/1121#issuecomment-177632301">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLU-X94JMJ1GXBwmbwxPUvshb7A9Iks5pfn5xgaJpZM4G9Cd7.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1121#issuecomment-177632301"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>