summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--f1elo/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/f1elo/model.py b/f1elo/model.py
index b60ff85..4b893dc 100644
--- a/f1elo/model.py
+++ b/f1elo/model.py
@@ -51,7 +51,7 @@ class Race(Base):
id = Column(Integer, primary_key=True)
race = Column(String(1024))
date = Column(Date)
- ranked = Column(Boolean)
+ ranked = Column(Boolean, default=False)
_type = Column(Integer, ForeignKey('race_types.id'))
type = relationship('RaceType', back_populates='races', order_by='Race.date')