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: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-04-18 23:44:59 +02:00
parent 895907579e
commit 0f45e98a08
2 changed files with 7 additions and 1 deletions

View file

@ -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),