I guess the only thing to discuss here is about how to define the DB schema for Questions and Answers. It seems clear that Flashcard should be a datatype on its own.

  • Is the number of questions and answers in a Flashcard fixed by design? No chance to change this number in the future?
  • Will flashcard be searched by questions or answers inside?
  • Are answers bound to questions in a 1:1 relationship?

Without further information, and leaving a reasonably scalable structure, I’d define it as follows.

Flashcard

  • Title (text)
  • Q&A (List of Q&A)
  • Owner (User)

Q&A

  • Question (text)
  • Answer (text)
  • Owner (User)