Adding Foreign Keys
This repo shows how to add tables and assign foreign key constraints when the table name and foreign key columns differ.
The app has 3 models: User, Course, and Enrollment. These models allow us to express a teacher student relationship by way of a course.
These illustrate the foreign key options.