aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/models/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/models/feed.py b/src/web/models/feed.py
index 2c26a71f..13210713 100644
--- a/src/web/models/feed.py
+++ b/src/web/models/feed.py
@@ -41,7 +41,7 @@ class Feed(db.Model, RightMixin):
id = db.Column(db.Integer(), primary_key=True)
title = db.Column(db.String(), default="")
description = db.Column(db.String(), default="FR")
- link = db.Column(db.String())
+ link = db.Column(db.String(), nullable=False)
site_link = db.Column(db.String(), default="")
enabled = db.Column(db.Boolean(), default=True)
created_date = db.Column(db.DateTime(), default=datetime.utcnow)
bgstack15