summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UPGRADING10
-rw-r--r--support/schema/aur-schema.sql1
2 files changed, 7 insertions, 4 deletions
diff --git a/UPGRADING b/UPGRADING
index ad7ad96..b0185a1 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -9,13 +9,15 @@ each AUR upgrade by running `make install` in the "po/" directory.
2. Remove the "NewPkgNotify" column from the "Users" table:
-----
ALTER TABLE Users DROP COLUMN NewPkgNotify;
-----
-3. Rename "web/lib/config.inc" to "web/lib/config.inc.php".
+3. Fix up issues with depends performance on large dataset.
+
+ALTER TABLE PackageDepends ADD INDEX (DepName);
+
+4. Rename "web/lib/config.inc" to "web/lib/config.inc.php".
-4. Merge "web/lib/config.inc.php.proto" with "web/lib/config.inc.php".
+5. Merge "web/lib/config.inc.php.proto" with "web/lib/config.inc.php".
From 1.8.1 to 1.8.2
-------------------
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql
index e64ae82..88d074e 100644
--- a/support/schema/aur-schema.sql
+++ b/support/schema/aur-schema.sql
@@ -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;