From: Stefan Date: Fri, 2 Sep 2016 16:42:54 +0000 (+0200) Subject: Set database field length to limit set in PHP code X-Git-Tag: 3.0.0_Beta_1~322^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=692a0b49dd408f06d48e28dbe52d6eee81e7fe4e;p=GitHub%2FWoltLab%2FWCF.git Set database field length to limit set in PHP code --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 09b87943a2..c36ed4cae9 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -1261,7 +1261,7 @@ CREATE TABLE wcf1_tracked_visit_type ( DROP TABLE IF EXISTS wcf1_user; CREATE TABLE wcf1_user ( userID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, - username VARCHAR(191) NOT NULL DEFAULT '', + username VARCHAR(100) NOT NULL DEFAULT '', email VARCHAR(191) NOT NULL DEFAULT '', password VARCHAR(100) NOT NULL DEFAULT '', accessToken CHAR(40) NOT NULL DEFAULT '',