mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Split UPGRADING
Split the upgrade instructions into several files, one file per version in order to keep them small, readable and to avoid merge conflicts. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
5e49aca247
commit
1fe14899aa
19 changed files with 570 additions and 644 deletions
18
upgrading/1.8.2.txt
Normal file
18
upgrading/1.8.2.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
1. Update the modified package timestamp for new packages.
|
||||
|
||||
UPDATE Packages SET ModifiedTS = SubmittedTS WHERE ModifiedTS = 0;
|
||||
|
||||
2. Move to new method of storing package depends.
|
||||
|
||||
----
|
||||
ALTER TABLE PackageDepends ADD COLUMN DepName VARCHAR(64) NOT NULL DEFAULT '' AFTER PackageID;
|
||||
UPDATE PackageDepends SET DepName = (SELECT Name FROM Packages WHERE ID = DepPkgID);
|
||||
ALTER TABLE PackageDepends MODIFY DepName VARCHAR(64) NOT NULL;
|
||||
ALTER TABLE PackageDepends DROP FOREIGN KEY `PackageDepends_ibfk_2`;
|
||||
ALTER TABLE PackageDepends DROP COLUMN DepPkgID;
|
||||
DELETE FROM Packages WHERE DummyPkg = 1;
|
||||
ALTER TABLE Packages DROP COLUMN DummyPkg;
|
||||
----
|
||||
|
||||
3. The File_Find PEAR module is no longer required. You can safely uninstall it
|
||||
if nothing else depends on it.
|
Loading…
Add table
Add a link
Reference in a new issue