In my program, I have the tables Riders, Drivers, and Preferences.
Each Rider and Driver has their own set of ranked preferences of the other model. (Eg. Rider1
Rider1