mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Build URLs from package names (fixes FS#15308, FS#19327).
Drop the "URLPath" field from the "Packages" table, build URLs from package names instead. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
0bb2a7b514
commit
556de318ae
6 changed files with 32 additions and 27 deletions
|
@ -9,7 +9,7 @@ From 1.7.0 to 1.8.0
|
|||
----
|
||||
ALTER TABLE Packages ADD OutOfDateTS BIGINT UNSIGNED NULL DEFAULT NULL;
|
||||
UPDATE Packages SET OutOfDateTS = UNIX_TIMESTAMP() WHERE OutOfDate = 1;
|
||||
ALTER TABLE Packages DROP OutOfDate;
|
||||
ALTER TABLE Packages DROP OutOfDate, DROP URLPath;
|
||||
----
|
||||
|
||||
2. You will need to update all packages which are stored in the incoming dir as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue