Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

remove convert_unicode flag #331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pypicloud/cache/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ class SQLPackage(Package, Base):
"""Python package stored in SQLAlchemy"""

__tablename__ = "packages"
filename = Column(String(255, convert_unicode=True), primary_key=True)
name = Column(String(255, convert_unicode=True), index=True, nullable=False)
version = Column(String(1000, convert_unicode=True), nullable=False)
filename = Column(String(255), primary_key=True)
name = Column(String(255), index=True, nullable=False)
version = Column(String(1000), nullable=False)
last_modified = Column(TZAwareDateTime(), index=True, nullable=False)
# TEXT, as pypi does the same, and using String(N) would mismatch with pypi
summary = Column(Text(), nullable=True)
Expand Down