<p>The very first thing in your original bug report quotes the output from <code>psql</code> where you apparently tried to run <code>structure.sql</code> and it failed - that is what made me think you had been trying to run it.</p>

<p>The <code>structure.sql</code> script is not a test script, it's just documentation effectively. Are you saying that you ran <code>rake test</code> and it tried to run <code>structure.sql</code>?</p>

<p>Anyway, you migration problem is occurring on the GIST index, which means you most likely forgot to add the <code>btree_gist</code> extension before you ran the migrations - see <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md#postgresql-btree-gist-extension">https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md#postgresql-btree-gist-extension</a> for how to do that.</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/685#issuecomment-33150248'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNjAzMjg1NSwiZGF0YSI6eyJpZCI6MjQwNjAyNTF9fQ==--4ef0c9871321a7559cdafccfbb6d0b05c1b80f88.gif' height='1' width='1'></p>