Skip to content
Snippets Groups Projects
Commit 707f922e authored by Ruben Young On's avatar Ruben Young On
Browse files

FK for feedback_option in mc_option is now nullable in migrations and database.py

parent 77702495
No related branches found
No related tags found
1 merge request!10Several multiple choice option fixes
Pipeline #17530 passed
......@@ -169,7 +169,7 @@ class MultipleChoiceOption(db.Model):
label = Column(String, nullable=True)
problem_id = Column(Integer, ForeignKey('problem.id'), nullable=False)
feedback_id = Column(Integer, ForeignKey('feedback_option.id'), nullable=False)
feedback_id = Column(Integer, ForeignKey('feedback_option.id'), nullable=True)
class ExamWidget(Widget):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment