Changed pubdate to timestamp

This commit is contained in:
Ozzieisaacs
2020-06-06 09:52:35 +02:00
parent d1b533848d
commit 827b0c6e50
4 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ class Books(Base):
sort = Column(String(collation='NOCASE'))
author_sort = Column(String(collation='NOCASE'))
timestamp = Column(TIMESTAMP, default=datetime.utcnow)
pubdate = Column(String) # , default=datetime.utcnow)
pubdate = Column(TIMESTAMP, default=DEFAULT_PUBDATE)
series_index = Column(String, nullable=False, default="1.0")
last_modified = Column(TIMESTAMP, default=datetime.utcnow)
path = Column(String, default="", nullable=False)