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