I’ve seen two approaches which I’m going to post in the comments to see which one is considered best. Feel free to suggest others.
I’ve seen two approaches which I’m going to post in the comments to see which one is considered best. Feel free to suggest others.
Have you thought about using an ORM?
I’ve always liked SQL, so I avoided ORMs for a long time… They are great for so many reasons! I definitely recommend you ORMs, specially the ones that also help you with migrations.