diff options
Diffstat (limited to 'f1elo/model.py')
-rw-r--r-- | f1elo/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/f1elo/model.py b/f1elo/model.py index cb03109..1bb154d 100644 --- a/f1elo/model.py +++ b/f1elo/model.py @@ -94,7 +94,7 @@ class Race(Base): id = Column(Integer, primary_key=True) race = Column(String(1024)) date = Column(Date) - ranked = Column(Boolean, default=False) + ranked = Column(Boolean, nullable=False, server_default='0', default=False) _type = Column( Integer, |