<p>In db/migrate/20140519141742_add_join_table_between_users_and_changesets.rb:</p>
<pre style='color:#555'>> @@ -0,0 +1,11 @@
> +require 'migrate'
> +class AddJoinTableBetweenUsersAndChangesets < ActiveRecord::Migration
> +  def change
> +    create_table :changesets_subscribers, id: false do |t|
> +      t.column :subscriber_id, :bigint, null: false
> +      t.column :changeset_id, :bigint, null: false
> +    end
</pre>
<p>My logic was that when we fetch subscribers for a changeset we won't care about the order, but when we fetch changesets for a subscriber we might - if for example we provided a paged list of changesets you were subscribed to.</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/pull/772/files#r15549116">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMjI4NDIwOCwiZGF0YSI6eyJpZCI6MzU4NjU3NjJ9fQ==--9f39e72492a972a9d98d46ed9710f8f10a296107.gif" width="1" /></p>