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

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

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index ef5f07d..b64f407 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -9,3 +9,9 @@
 
 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;

--
Gitblit v1.9.1