Relations between tables unclear
Consider the following schema where a User can create a Post, and each post can have multiple versions of its content. What is the best way for a Post to store the
latestVersionId
for quick access. I'm having trouble figuring that out, and also how to create a Post since a Post would need a PostVersion first, but a PostVersion needs a Post to link them together.
0 Replies