<h3 dir="auto">Description</h3>
<p dir="auto">PR adds migration script for adding new columns (<code class="notranslate">description</code>, <code class="notranslate">user_id</code>, <code class="notranslate">user_ip</code>) to <code class="notranslate">notes</code> table. Also, migration adds foreign key (with turned OFF validation) connecting <code class="notranslate">notes</code> and <code class="notranslate">users</code> tables (using <code class="notranslate">user_id</code> column).</p>
<p dir="auto">This PR is 2nd from set of PRs described <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5485#pullrequestreview-2545467592" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5485/hovercard">here</a>.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">Automated unit tests and manual testing</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5499'>https://github.com/openstreetmap/openstreetmap-website/pull/5499</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5499/commits/16bdcac6d7a91250bd29b3fbbcc6f1d92531b2d0" class="commit-link">16bdcac</a>  Added description, user_id, user_ip columns to notes</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5499/files">3 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5499/files#diff-08ddccf408b18937e98b422e555eaf851c2a02c3ba815c5aeb8bc00efe65ecab">app/models/note.rb</a>
    (23)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5499/files#diff-c7550b509060a5a1f9fc051629dd33738c2365eade2ed091183adce2b9b88fe7">db/migrate/20250104140952_add_description_to_notes.rb</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5499/files#diff-1dd5a8f580b9615769ddc19a64a98f455d9d20eb149c443f41d9d3c797d39b12">db/structure.sql</a>
    (14)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5499.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5499.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5499.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5499.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5499">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLADTCBBFRKFSDMERT2KVGFDAVCNFSM6AAAAABVFOVSROVHI2DSMVQWIX3LMV43ASLTON2WKOZSG44DOOJUGIYTANY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPAZZ2MLENB2MSEEI32KVGFDA5CNFSM6AAAAABVFOVSROWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKMLE63M.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5499</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5499",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5499",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>