Support adding comments to records

This commit is contained in:
Pierre Jaury
2016-03-20 11:38:37 +01:00
parent 370a2fae4d
commit 8fb2e58661
8 changed files with 21 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ class Base(db.Model):
created_at = db.Column(db.Date, nullable=False, default=datetime.now)
updated_at = db.Column(db.Date, nullable=True, onupdate=datetime.now)
comment = db.Column(db.String(255), nullable=True)
class Domain(Base):