summaryrefslogtreecommitdiff
path: root/SQL/mysql.update.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-09-06 17:18:12 +0000
committeralecpl <alec@alec.pl>2011-09-06 17:18:12 +0000
commitd5ae9772c1427dbbcf1cb7582106dd1d542bc26e (patch)
tree4c3f47d650e675777bbaa4265e59d52cc3058062 /SQL/mysql.update.sql
parentf8e48df71540b268ceac058d32b8ee848fc2ab6b (diff)
- Fix username case-insensitivity issue in MySQL (#1488021)
Diffstat (limited to 'SQL/mysql.update.sql')
-rw-r--r--SQL/mysql.update.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index afeb3a528..7f8ce6154 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -147,6 +147,9 @@ TRUNCATE TABLE `cache`;
-- Updates from version 0.6-stable
+ALTER TABLE `users` CHANGE `alias` `alias` varchar(128) BINARY NOT NULL;
+ALTER TABLE `users` CHANGE `username` `username` varchar(128) BINARY NOT NULL;
+
CREATE TABLE `dictionary` (
`user_id` int(10) UNSIGNED DEFAULT NULL,
`language` varchar(5) NOT NULL,