diff --git a/app/models.py b/app/models.py index 235ba11..d90b599 100644 --- a/app/models.py +++ b/app/models.py @@ -22,7 +22,7 @@ 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) + #last_seen = db.Column(db.DateTime, default=datetime.utcnow) posts = db.relationship('Post', backref='author', lazy='dynamic') def __repr__(self): @@ -169,4 +169,4 @@ class Post(db.Model): def __repr__(self): return ''.format(self.body) - \ No newline at end of file +