share_id is now Text, so it can accept hash.

master
Kostanjevec 2022-06-13 14:27:14 +02:00
parent 90cc19fc12
commit 9007ddcdf5
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class Card(Base):
interest_rate = Column(Float)
item_location = Column(String(1024))
last_review = Column(Text)
share_id = Column(Integer) #explain: 0 means not shared, otherwise increment from db and generate new cards for all relevant(tbd) users
share_id = Column(Text) #explain: 0 means not shared, otherwise increment from db and generate new cards for all relevant(tbd) users
class Deck(Base):
__tablename__ = 'deck'