mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix performance issues with new PackageDepends lookups
We do a lookup by DepName in the package details view, but I made the silly mistake of forgetting this index addition in the upgrade steps. Lukas: Fix numbering in "UPGRADING". Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
0e9f8c0ff5
commit
c0e6aabeb1
2 changed files with 7 additions and 4 deletions
|
@ -123,6 +123,7 @@ CREATE TABLE PackageDepends (
|
|||
DepName VARCHAR(64) NOT NULL,
|
||||
DepCondition VARCHAR(20),
|
||||
INDEX (PackageID),
|
||||
INDEX (DepName),
|
||||
FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
|
||||
) ENGINE = InnoDB;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue