mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
829a8b4b81
commit
6f7ac33166
3 changed files with 0 additions and 60 deletions
|
@ -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',
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue