summaryrefslogtreecommitdiff
path: root/SQL/mysql5.initial.sql
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-03 11:03:54 +0000
committeralecpl <alec@alec.pl>2008-04-03 11:03:54 +0000
commit6cb7786912ab18e53d8de0bbe436e46bf6d61782 (patch)
treee61f66da29fa0a47d843979e194509aae5477c7d /SQL/mysql5.initial.sql
parent50e5eef2e35479f27253323f087beeec6d6ad169 (diff)
#1484854
Diffstat (limited to 'SQL/mysql5.initial.sql')
-rw-r--r--SQL/mysql5.initial.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/SQL/mysql5.initial.sql b/SQL/mysql5.initial.sql
index 58e220f7d..881344b98 100644
--- a/SQL/mysql5.initial.sql
+++ b/SQL/mysql5.initial.sql
@@ -29,7 +29,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`)
) TYPE=INNODB CHARACTER SET utf8 COLLATE utf8_general_ci;