I'm trying to build my PostgreSQL database.
I receive data like this from another source :
Runner
id : int
Name : string
Age : int
Steps : List of Step
My question come with the Steps Values. It's a list of Steps (specific of each runner) that I will have to update (add step in the list, update old steps, etc).
The step object look like this
Step
id : int
Name : string
Date : date
isFinished : boolean
What is the best way to design my database with that list of steps ? Another table or something like a JSON object in the runner table ?