Merge pull request #146 from eReuse/bugfix/wbconf

fixing bug
This commit is contained in:
cayop 2021-05-24 14:45:51 +02:00 committed by GitHub
commit db8c7e6ce0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)