<p>Well the general point is that you shouldn't be throwing around postgres superuser privileges without understanding what you are doing.</p>
<p>Ideally there would be a single step that you could execute as the postgres user but as I say I'm not sure if that's actually possible.</p>
<p>It may be that we should recommend an initial run of <code>rake test:db</code> as a database superuser to populate the test database but as I say it needs some research to see if that is good enough or under what circumstances rails may try and recreate the test database from scratch.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2358?email_source=notifications&email_token=AAK2OLJ7VQ5A2SKSG7TQDCDQGKSOHA5CNFSM4IPE2BQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CWAWA#issuecomment-524640344">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLM6EJ7LYDNK7MFZGMDQGKSOHANCNFSM4IPE2BQA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLLGXCDFJ62NWMHGQRTQGKSOHA5CNFSM4IPE2BQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CWAWA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2358?email_source=notifications\u0026email_token=AAK2OLJ7VQ5A2SKSG7TQDCDQGKSOHA5CNFSM4IPE2BQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CWAWA#issuecomment-524640344",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2358?email_source=notifications\u0026email_token=AAK2OLJ7VQ5A2SKSG7TQDCDQGKSOHA5CNFSM4IPE2BQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CWAWA#issuecomment-524640344",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>