diff options
author | emkael <emkael@tlen.pl> | 2014-10-29 23:20:56 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2014-10-29 23:20:56 +0100 |
commit | 30fc5a29924b2a3e1666a25d0cae07c22a940bac (patch) | |
tree | 0b4805400c95764d7c5b6253abd99dca0f822d9a /f1elo | |
parent | 37fb7a1d7c8ee1bad50335873a515e849dd3dff2 (diff) |
* default for race.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 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, |