From 30fc5a29924b2a3e1666a25d0cae07c22a940bac Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 29 Oct 2014 23:20:56 +0100 Subject: * default for race.ranked --- f1elo/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'f1elo') 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, -- cgit v1.2.3