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.

  • Dr. Wesker
    link
    31 year ago

    Have you thought about using an ORM?

    • elguaxo
      link
      fedilink
      31 year ago

      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.