<p></p>
<p>I'm sure that it does, but I'm not entirely sure that it should!</p>
<p>Most developers wouldn't expect seed data to be added as a side effect of the migrations, and wouldn't rely on it either. It starts getting more complex/flakey when setting up the database with e.g. <code>db:structure:load</code>, which of course only has the structure and not this language data. I think it's best to have it in the seeds file, where it belongs. But I'm happy to leave the migration stuff untouched.</p>
<p>As implemented I don't foresee any problems, since Language.load can be run multiple times without errors.</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/2864#issuecomment-701400168">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOKQ7ITBJAJK435FHLSIMY5BANCNFSM4R7CQYNA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJCGEM4NUUIQ74MBGLSIMY5BA5CNFSM4R7CQYNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFHHII2A.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/2864#issuecomment-701400168",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2864#issuecomment-701400168",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>