Commit 0f45e98a authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Allow dependency names of up to 255 characters



This field needs to be a bit larger now that optdepends (including
descriptions) are stored there as well.
Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 89590757
......@@ -165,6 +165,12 @@ ALTER TABLE PackageDepends
ADD FOREIGN KEY (DepTypeID) REFERENCES DependencyTypes(ID) ON DELETE NO ACTION;
----
14. Resize the package dependency name field:
----
ALTER TABLE PackageDepends MODIFY DepName VARCHAR(255) NOT NULL;
----
From 2.2.0 to 2.3.0
-------------------
......
......@@ -151,7 +151,7 @@ INSERT INTO DependencyTypes VALUES (4, 'optdepends');
CREATE TABLE PackageDepends (
PackageID INTEGER UNSIGNED NOT NULL,
DepTypeID TINYINT UNSIGNED NOT NULL,
DepName VARCHAR(64) NOT NULL,
DepName VARCHAR(255) NOT NULL,
DepCondition VARCHAR(20),
INDEX (PackageID),
INDEX (DepName),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment