Skip to content

Commit

Permalink
14/02/24 04:44
Browse files Browse the repository at this point in the history
  • Loading branch information
Preetam-Das26 authored Feb 13, 2024
1 parent eb8c464 commit a86bec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mslib/mscolab/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class User(db.Model):
password = db.Column(db.String(255), unique=True)
registered_on = db.Column(db.DateTime, nullable=False)
confirmed = db.Column(db.Boolean, nullable=False, default=False)
confirmed_on = db.Column(DateTime(timezone=True), nullable=True, default=datetime.datetime.utcnow)
confirmed_on = db.Column(db.DateTime(timezone=True), nullable=True, default=datetime.datetime.utcnow)
permissions = db.relationship('Permission', cascade='all,delete,delete-orphan', backref='user')
authentication_backend = db.Column(db.String(255), nullable=False, default='local')

Expand Down

0 comments on commit a86bec6

Please sign in to comment.