Add timestamp to default publishing date

This commit is contained in:
Jonathan Rehm
2017-07-23 13:35:35 -07:00
parent a07798b0db
commit cc916a4eb4
+1 -1
View File
@@ -230,7 +230,7 @@ class Data(Base):
class Books(Base):
__tablename__ = 'books'
DEFAULT_PUBDATE = "0101-01-01"
DEFAULT_PUBDATE = "0101-01-01 00:00:00+00:00"
id = Column(Integer, primary_key=True)
title = Column(String)