add comment

master
Aevann 2023-12-03 17:15:11 +02:00
parent 87099d7304
commit c82de916dd
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ class User(Base):
lifetimedonated = Column(Integer, default=0)
lifetimedonated_visible = Column(Boolean, default=False)
blacklisted_by = Column(Integer, ForeignKey("users.id"))
grinch = Column(Boolean, default=SITE_NAME != 'rDrama')
grinch = Column(Boolean, default=SITE_NAME != 'rDrama') #don't put in an if condition, it will cause an error bc it has a not-null constraint
if IS_HOMOWEEN():
zombie = Column(Integer, default=0, nullable=False) # > 0 vaxxed; < 0 zombie