WIP do not merge Bug 1025805 multiple RIDs over time

Opening the PR to discuss the work on this so far, and to check next steps.
You can remove this, it'll be automatically created by sequelize if you define the association above