diff options
author | rubenwardy <rw@rubenwardy.com> | 2019-07-02 00:45:04 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2019-07-02 00:45:16 +0100 |
commit | b36273a848e6dd1a7971283cb3134b6a1e5e39ee (patch) | |
tree | 54a58e13da0895588f8a0c99a885e1ba16dd5315 /app/models.py | |
parent | 7b087158d7f6080bd463d50e3a12fb8fb307d460 (diff) | |
download | cheatdb-b36273a848e6dd1a7971283cb3134b6a1e5e39ee.tar.xz |
Add website and donation supportv1.15.0
Diffstat (limited to 'app/models.py')
-rw-r--r-- | app/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models.py b/app/models.py index cecf765..583c92a 100644 --- a/app/models.py +++ b/app/models.py @@ -129,6 +129,10 @@ class User(db.Model, UserMixin): active = db.Column("is_active", db.Boolean, nullable=False, server_default="0") display_name = db.Column(db.String(100), nullable=False, server_default="") + # Links + website_url = db.Column(db.String(255), nullable=True, default=None) + donate_url = db.Column(db.String(255), nullable=True, default=None) + # Content notifications = db.relationship("Notification", primaryjoin="User.id==Notification.user_id") |