Add created datetime to Comment model
This commit is contained in:
parent
f021a9ff49
commit
4c4ee442d3
2 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ from app.services.database import get_db
|
|||
|
||||
class Comment(Model):
|
||||
url = CharField()
|
||||
created = DateTimeField()
|
||||
published = DateTimeField()
|
||||
author_name = CharField()
|
||||
author_email = CharField(default='')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue