diff options
author | emkael <emkael@tlen.pl> | 2014-10-28 15:45:19 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2014-10-28 15:45:19 +0100 |
commit | e1dfc0b8eaea4e9e2f35f49ff55b750eb4b08da0 (patch) | |
tree | a85cc45dc4f22106263c2266900854a6f04b1b6e /f1elo | |
parent | 34794256c3041e4a22ca99978b22e4280c57a814 (diff) |
* default for races.ranked
Diffstat (limited to 'f1elo')
-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 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') |