From 9966912674337ecbab398b7f632d4689aa94cb9e Mon Sep 17 00:00:00 2001 From: H4CK3R-01 Date: Sat, 28 May 2022 17:12:23 +0200 Subject: [PATCH] Updated database default value --- source/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/db.py b/source/db.py index 652a040..8f34f2c 100644 --- a/source/db.py +++ b/source/db.py @@ -49,7 +49,7 @@ class Product(Base): title = Column(String(5000)) description = Column(String(5000)) date = Column(DateTime) - todays_product = Column(Boolean) + todays_product = Column(Boolean, default=False) def __repr__(self): return "" % (