From: Marcel Werk Date: Wed, 22 May 2013 20:38:34 +0000 (+0200) Subject: Reduced size of the application column X-Git-Tag: 2.0.0_Beta_1~86 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=567fa8b844549c8441b572142d25a3252a75f53e;p=GitHub%2FWoltLab%2FWCF.git Reduced size of the application column --- diff --git a/wcfsetup/setup/db/install.sql b/wcfsetup/setup/db/install.sql index 5bbeb7d07d..8b8e208dca 100644 --- a/wcfsetup/setup/db/install.sql +++ b/wcfsetup/setup/db/install.sql @@ -107,7 +107,7 @@ CREATE TABLE wcf1_acp_template ( templateID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, packageID INT(10), templateName VARCHAR(255) NOT NULL, - application VARCHAR(255) NOT NULL, + application VARCHAR(20) NOT NULL, UNIQUE KEY applicationTemplate (application, templateName) ); @@ -551,7 +551,7 @@ DROP TABLE IF EXISTS wcf1_package_installation_file_log; CREATE TABLE wcf1_package_installation_file_log ( packageID INT(10), filename VARCHAR(255) NOT NULL, - application VARCHAR(255) NOT NULL, + application VARCHAR(20) NOT NULL, UNIQUE KEY applicationFile (application, filename) ); @@ -885,7 +885,7 @@ CREATE TABLE wcf1_template ( templateID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, packageID INT(10) NOT NULL, templateName VARCHAR(255) NOT NULL, - application VARCHAR(255) NOT NULL, + application VARCHAR(20) NOT NULL, templateGroupID INT(10), lastModificationTime INT(10) NOT NULL DEFAULT 0, UNIQUE KEY applicationTemplate (application, templateGroupID, templateName),