Revert "feat(db): add an index for SSHPubKeys.PubKey (#2)"

This reverts commit 6c7e274968.

Once again, this does actually cause issues with foreign keys.
Removing it for now and will revisit this.
This commit is contained in:
Kevin Morris 2022-08-13 23:28:31 -07:00
parent 829a8b4b81
commit 6f7ac33166
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
3 changed files with 0 additions and 60 deletions

View file

@ -87,8 +87,6 @@ SSHPubKeys = Table(
Column('UserID', ForeignKey('Users.ID', ondelete='CASCADE'), nullable=False),
Column('Fingerprint', String(44), primary_key=True),
Column('PubKey', String(4096), nullable=False),
Index('SSHPubKeysUserID', 'UserID'),
Index('SSHPubKeysPubKey', 'PubKey'),
mysql_engine='InnoDB', mysql_charset='utf8mb4', mysql_collate='utf8mb4_bin',
)