fix a typo

This commit is contained in:
Daniel afx 2022-02-05 00:25:42 +02:00
parent 0d3ffcb716
commit 206a0c532d

View file

@ -200,6 +200,6 @@ class Item(db.Model):
__tablename__ = 'items' __tablename__ = 'items'
id = db.Column(db.Integer, primary_key=True) #PK id = db.Column(db.Integer, primary_key=True) #PK
user_id = db.Column(db.ForeignKey('users.id')) #FK user_id = db.Column(db.ForeignKey('users.id')) #FK
key = db.Column(db.Integer, defaults=0) key = db.Column(db.Integer, default=0)
description = db.Column(db.Unicode) description = db.Column(db.Unicode)
date_created = db.Column(db.DateTime, default=datetime.utcnow) date_created = db.Column(db.DateTime, default=datetime.utcnow)