In my app , a user can create a set of question then a table is
dynamily created , in the database,to store the answers of the
questions. the name of the table is answers_x (x is the id of the
Is it possible to dynamicly create a model, to handle the answer_x
tables ?? I can’t manually create a model then restart the server.
Why a different table per set of questions?
Sounds like what you need is actually are more generic models (Quizzes
and Quizitems?) that stores lists of questions and answers.
Assuming you have a User model defined somewhere else…
where a quizitem contains a question and an answer… maybe points if
you’re scoring them somehow.