From 18ca978b81fb504b53bddadf292319b85807a299 Mon Sep 17 00:00:00 2001
From: Melanie
Date: Tue, 29 Dec 2009 18:31:27 +0000
Subject: Give the new user tables the once-over. Strip the current set of
 methods from IUserAccountService, we need to define what goes in there.
 Change the handler to the generic handler. Adjust migrations, add index

---
 OpenSim/Data/MySQL/Resources/003_UserAccount.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 OpenSim/Data/MySQL/Resources/003_UserAccount.sql

(limited to 'OpenSim/Data/MySQL/Resources/003_UserAccount.sql')

diff --git a/OpenSim/Data/MySQL/Resources/003_UserAccount.sql b/OpenSim/Data/MySQL/Resources/003_UserAccount.sql
new file mode 100644
index 0000000..e42d93b
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/003_UserAccount.sql
@@ -0,0 +1,9 @@
+BEGIN;
+
+CREATE UNIQUE INDEX PrincipalID ON UserAccounts(PrincipalID);
+CREATE INDEX Email ON UserAccounts(Email);
+CREATE INDEX FirstName ON UserAccounts(FirstName);
+CREATE INDEX LastName ON UserAccounts(LastName);
+CREATE INDEX Name ON UserAccounts(FirstName,LastName);
+
+COMMIT;
-- 
cgit v1.1

