I'm writing an application that contains an overall data model with some obvious relations. I started writing the application using MongoDB (what I'm familiar with), but decided to try and transition over to Postgres since again, my data has tons of foreign keys. For simplicity, let's consider the following models:
class GameBase {
id: string
entryIds: string[]
submissionIds: string[]
}