Commit 59055776 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Use VARCHAR instead of CHAR in "PackageBlacklist" table.


Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent a64cd12f
......@@ -29,7 +29,7 @@ ALTER TABLE TU_VoteInfo
MODIFY User VARCHAR(32) collate latin1_general_ci NOT NULL;
CREATE TABLE PackageBlacklist (
ID INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
Name CHAR(64) NOT NULL,
Name VARCHAR(64) NOT NULL,
PRIMARY KEY (ID),
UNIQUE (Name)
);
......
......@@ -181,7 +181,7 @@ CREATE UNIQUE INDEX NotifyUserIDPkgID ON CommentNotify (UserID, PkgID);
--
CREATE TABLE PackageBlacklist (
ID INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
Name CHAR(64) NOT NULL,
Name VARCHAR(64) NOT NULL,
PRIMARY KEY (ID),
UNIQUE (Name)
);
......
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