0
Users: [{
- email
- senha
- quiz_criado: [id: 1], // ref: Quiz (array com id)
- quiz_respondido: [{
id: 1 , // ref: Quiz
question_respondido: [{
question_id
opcao_escolhida
}]
}]
}]
Quiz: [{
- quiz_id
- nome
- descricao
- questions: [{
- question_id
- question_text
- type // pode ser uma escolha ou multipla escolha
- correct_anwsers // a resposta correta
}]
}];
Quiz:
- You will have all Quizzes created by users.
Users:
- You can create a quiz or several quizzes;
- You can answer several other users' quizzes.
Is it better to create everything in a Schema? Is there anything that can be improved in the scheme I created?