mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
add user.paid_lifetime column
This commit is contained in:
parent
ba5d71dd75
commit
2f0a5aa429
1 changed files with 3 additions and 0 deletions
|
@ -181,6 +181,9 @@ class User(db.Model, ModelMixin, UserMixin):
|
|||
|
||||
# some users could have lifetime premium
|
||||
lifetime = db.Column(db.Boolean, default=False, nullable=False, server_default="0")
|
||||
paid_lifetime = db.Column(
|
||||
db.Boolean, default=False, nullable=False, server_default="0"
|
||||
)
|
||||
|
||||
# user can use all premium features until this date
|
||||
trial_end = db.Column(
|
||||
|
|
Loading…
Reference in a new issue