From 6cb7786912ab18e53d8de0bbe436e46bf6d61782 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 3 Apr 2008 11:03:54 +0000
Subject: #1484854

---
 SQL/mysql.initial.sql | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

diff --git a/SQL/mysql.initial.sql b/SQL/mysql.initial.sql
index ae195e438..019675ec4 100644
--- a/SQL/mysql.initial.sql
+++ b/SQL/mysql.initial.sql
@@ -91,7 +91,9 @@ CREATE TABLE `users` (
   `last_login` datetime NOT NULL default '0000-00-00 00:00:00',
   `language` varchar(5) NOT NULL default 'en',
   `preferences` text,
-  PRIMARY KEY  (`user_id`)
+  PRIMARY KEY  (`user_id`),
+  INDEX `username_index` (`username`),
+  INDEX `alias_index` (`alias`)
 );
 
 -- --------------------------------------------------------
-- 
cgit v1.2.3

