summaryrefslogtreecommitdiffstats
path: root/gitsrht/types/sshkey.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitsrht/types/sshkey.py')
-rw-r--r--gitsrht/types/sshkey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitsrht/types/sshkey.py b/gitsrht/types/sshkey.py
index 9157e24..cc050de 100644
--- a/gitsrht/types/sshkey.py
+++ b/gitsrht/types/sshkey.py
@@ -8,7 +8,7 @@ class SSHKey(Base):
user_id = sa.Column(sa.Integer, sa.ForeignKey('user.id'), nullable=False)
user = sa.orm.relationship('User', backref=sa.orm.backref('ssh_keys'))
meta_id = sa.Column(sa.Integer, nullable=False, unique=True, index=True)
- key = sa.Column(sa.String(4096), nullable=False)
+ key = sa.Column(sa.String(4096), nullable=False, index=True)
fingerprint = sa.Column(sa.String(512), nullable=False)
def __repr__(self):