Change reaction_type column type and iconType to tinyint
authorJoshua Rüsweg <josh@bastelstu.be>
Tue, 10 Apr 2018 10:39:14 +0000 (12:39 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Tue, 10 Apr 2018 10:39:14 +0000 (12:39 +0200)
See #2508

wcfsetup/setup/db/install.sql

index 8e2cfe3357418ee2090c981636c1088b3d2f3b35..188ad69054460fb56e84b4f019315e762c8e3c23 100644 (file)
@@ -1159,9 +1159,9 @@ DROP TABLE IF EXISTS wcf1_reaction_type;
 CREATE TABLE wcf1_reaction_type(
        reactionTypeID INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, 
        reactionTitle VARCHAR(255), 
-       type SMALLINT(1),
+       type TINYINT(1),
        showOrder INT(10) NOT NULL DEFAULT 0,
-       iconType SMALLINT(1) DEFAULT 1,
+       iconType TINYINT(1) DEFAULT 1,
        iconFile MEDIUMTEXT, 
        iconName VARCHAR(255),
        iconColor VARCHAR(255),