Skip to content

Add section to database docs for alternative primary keys

Steve Abrams requested to merge has_one_database_doc into master

What does this MR do?

Adds a section to the Database docs for considering alternative primary keys when there is a has_one relationship.

Background

I've seen this come up in a few DB reviews (here's one from my own MR) and thought perhaps it is a pattern worth documenting.

Merge request reports