mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 22:13:00 +00:00
index prefix column
This commit is contained in:
@@ -427,7 +427,7 @@ class OAuthAccessToken(Hashed, Base):
|
||||
|
||||
# from Hashed
|
||||
hashed = Column(Unicode(64))
|
||||
prefix = Column(Unicode(16))
|
||||
prefix = Column(Unicode(16), index=True)
|
||||
|
||||
def __repr__(self):
|
||||
return "<{cls}('{prefix}...', user='{user}'>".format(
|
||||
|
Reference in New Issue
Block a user