fixing bug

This commit is contained in:
Cayo Puigdefabregas 2021-05-24 13:00:03 +02:00
parent a3f5401e1f
commit b34feee800
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class UserInventory(db.Model):
class Session(Thing):
__table_args__ = {'schema': 'common'}
id = Column(BigInteger, Sequence('device_seq'), primary_key=True)
expired = Column(BigInteger, default=0)
token = Column(UUID(as_uuid=True), default=uuid4, unique=True, nullable=False)