Beyond Foreign Keys
lackofimagination.org
lackofimagination.org
All the other "we use thing relates to thing because structured data slows us down" I used were nightmares.
{
"id": 6,
"sourceComp": "user",
"sourceId": 2,
"targetComp": "post",
"targetId": 3,
"type": "author",
"createdAt": "2024-03-28T13:28:59.175Z",
"updatedAt": "2024-03-28T13:28:59.175Z"
}Isn't it still implemented as a foreign key?