From e1dfc0b8eaea4e9e2f35f49ff55b750eb4b08da0 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 28 Oct 2014 15:45:19 +0100 Subject: * default for races.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 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') -- cgit v1.2.3