Change type of *ReactionsReceived column to int(10)
authorJoshua Rüsweg <josh@bastelstu.be>
Sun, 28 Oct 2018 12:50:17 +0000 (13:50 +0100)
committerJoshua Rüsweg <josh@bastelstu.be>
Sun, 28 Oct 2018 14:06:26 +0000 (15:06 +0100)
See #2508

wcfsetup/setup/db/install.sql

index 80786e76444e79aa43da77854bab2e0373ef3b2c..bd2ff8086773a505460ee4f2e6c3ea86d0f28584 100644 (file)
@@ -1456,9 +1456,9 @@ CREATE TABLE wcf1_user (
        disableCoverPhotoReason TEXT,
        disableCoverPhotoExpires INT(10) NOT NULL DEFAULT 0,
        articles INT(10) NOT NULL DEFAULT 0,
-       positiveReactionsReceived MEDIUMINT(7) NOT NULL DEFAULT 0,
-       negativeReactionsReceived MEDIUMINT(7) NOT NULL DEFAULT 0,
-       neutralReactionsReceived MEDIUMINT(7) NOT NULL DEFAULT 0,
+       positiveReactionsReceived INT(10) NOT NULL DEFAULT 0,
+       negativeReactionsReceived INT(10) NOT NULL DEFAULT 0,
+       neutralReactionsReceived INT(10) NOT NULL DEFAULT 0,
        
        KEY username (username),
        KEY email (email),