Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit d2a8ec7

Browse files
committed
Update defaults
1 parent fc205a2 commit d2a8ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bookserver/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class Courses(Base, IdMixin):
359359
institution = Column(String, nullable=False)
360360
# This is (hopefully) a temporary field to indicate that this book
361361
# should be served by the new bookserver
362-
new_server = Column(Web2PyBoolean, default=False)
362+
new_server = Column(Web2PyBoolean, default=True)
363363

364364

365365
CoursesValidator = sqlalchemy_to_pydantic(Courses)
@@ -462,7 +462,7 @@ class Question(Base, IdMixin):
462462
topic = Column(String(512))
463463
feedback = Column(Text)
464464
from_source = Column(Web2PyBoolean, nullable=False)
465-
review_flag = Column(Web2PyBoolean)
465+
review_flag = Column(Web2PyBoolean, default=False)
466466
qnumber = Column(String(512))
467467
optional = Column(Web2PyBoolean)
468468
description = Column(Text)

0 commit comments

Comments
 (0)