<p>I'm confused by all those rake tasks too. I created a dependency diagram. It's from just active-record-5.2.3/lib/active_record/railties/database.rake. Our entry point into this is db:test:prepare which test:db depends on. You can right click and open the svg image.</p>
<p><a href="https://gist.github.com/openbrian/f89038bbc1d5218c7d1bf83a97c170e2">https://gist.github.com/openbrian/f89038bbc1d5218c7d1bf83a97c170e2</a></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/2404?email_source=notifications&email_token=AAK2OLJJYNODECCFJF4A2JLQPSCY3A5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYOF3Q#issuecomment-544269038">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLSF7X6NKEVHVOQIFTQPSCY3ANCNFSM4JCQE43Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJQQ7XVQU2CK2YWTVDQPSCY3A5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYOF3Q.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/2404?email_source=notifications\u0026email_token=AAK2OLJJYNODECCFJF4A2JLQPSCY3A5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYOF3Q#issuecomment-544269038",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2404?email_source=notifications\u0026email_token=AAK2OLJJYNODECCFJF4A2JLQPSCY3A5CNFSM4JCQE432YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYOF3Q#issuecomment-544269038",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>