How do you want to use the data?
It is usually better practice to use a column for each value, unless you don't know what structure the data might be and you will never want to search on it
maybe you should save it in json encoded data, and give column 'type' to define how to process it in your code later.
because maybe in the future you need another position, not just 'x' and 'y', but 'z' too.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community