From 5870871ae1f8a0f3b40436483a43cf3aafa35b2d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 17 May 2007 17:30:33 +0000
Subject: Changed sql scripts to allow non-ascii chars in user names (#1483959)

---
 SQL/mysql.update.sql | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'SQL/mysql.update.sql')

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index ef5f07d83..b64f407c7 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -9,3 +9,9 @@ ALTER TABLE `messages`
 
 ALTER TABLE `identities`
   ADD `html_signature` tinyint(1) default 0 NOT NULL;
+
+-- Uncomment these lines if you're using MySQL 4.1 or higher
+-- ALTER TABLE `users`
+--  DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci,
+--  CHANGE `username` `username` VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
+--  CHANGE `alias` `alias` VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
-- 
cgit v1.2.3

