summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index 89fd5b1ed..2cd86f6fd 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -313,7 +313,7 @@ CREATE TABLE IF NOT EXISTS `discord` (
`discord_name` VARCHAR(255) NOT NULL DEFAULT '',
`verified` ENUM('0', '1') NOT NULL DEFAULT '0',
PRIMARY KEY (`account_id`),
- UNIQUE KEY `name_key` (`discord_name`)
+ UNIQUE KEY `name_key` (`discord_name`(40))
) ENGINE=MyISAM;
--