aboutsummaryrefslogtreecommitdiff
path: root/app/models.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-23 19:40:37 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-23 19:40:37 +0100
commit9c728a368c5a7f69423f6593e46316ce5cf03c0e (patch)
tree7f5b9a1c6783849f8f63c83c2497cd9352d2f8e2 /app/models.py
parent243d474bc51cf1a3bdf9969b92aede818d242293 (diff)
downloadcheatdb-9c728a368c5a7f69423f6593e46316ce5cf03c0e.tar.xz
Remove forum topic requirement
Diffstat (limited to 'app/models.py')
-rw-r--r--app/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models.py b/app/models.py
index 9a1b803..ec9de98 100644
--- a/app/models.py
+++ b/app/models.py
@@ -259,7 +259,7 @@ class Package(db.Model):
repo = db.Column(db.String(200), nullable=True)
website = db.Column(db.String(200), nullable=True)
issueTracker = db.Column(db.String(200), nullable=True)
- forums = db.Column(db.Integer, nullable=False)
+ forums = db.Column(db.Integer, nullable=True)
tags = db.relationship("Tag", secondary=tags, lazy="subquery",
backref=db.backref("packages", lazy=True))