Fix for calibre 9.0

This commit is contained in:
Ozzie Isaacs
2026-01-31 12:31:44 +01:00
parent e2c3c08d65
commit 7f7fc884c2

View File

@@ -416,8 +416,8 @@ class Books(Base):
path = Column(String, default="", nullable=False)
has_cover = Column(Integer, default=0)
uuid = Column(String)
isbn = Column(String(collation='NOCASE'), default="")
flags = Column(Integer, nullable=False, default=1)
# isbn = Column(String(collation='NOCASE'), default="")
# flags = Column(Integer, nullable=False, default=1)
authors = relationship(Authors, secondary=books_authors_link, backref='books')
tags = relationship(Tags, secondary=books_tags_link, backref='books', order_by="Tags.name")