Create flashcard table in the database
ixahmedxi opened this issue · comments
Ahmed Elsakaan commented
Columns:
-
id (UUID unique)
-
userId (optional, if orgId is there)
-
orgId (optional, if userId is there)
-
question
-
answer
-
lastAttempted (date, optional)
-
lastAttemptCorrect (boolean, optional)
-
createdAt
-
notebookId (reference to the notebook where the flashcard was generated)
-
moduleId (reference to the module that the flashcard belongs to)