Remove last_seen

Strange bug. Need to study more about this.
This commit is contained in:
PLUJA 2020-09-06 12:25:56 +02:00 committed by GitHub
parent c12aa6556b
commit 0d4758e697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ class User(UserMixin, db.Model):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(64), index=True, unique=True)
password_hash = db.Column(db.String(128))
last_seen = db.Column(db.DateTime, default=datetime.utcnow)
posts = db.relationship('Post', backref='author', lazy='dynamic')
def __repr__(self):