aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources/002_UserAccount.sql
diff options
context:
space:
mode:
authorMelanie2009-12-29 18:31:27 +0000
committerMelanie2009-12-29 18:31:27 +0000
commit18ca978b81fb504b53bddadf292319b85807a299 (patch)
tree6b692d64a318d056246aa64a1edd89b37a048802 /OpenSim/Data/MySQL/Resources/002_UserAccount.sql
parent* Added useraccount table (diff)
downloadopensim-SC-18ca978b81fb504b53bddadf292319b85807a299.zip
opensim-SC-18ca978b81fb504b53bddadf292319b85807a299.tar.gz
opensim-SC-18ca978b81fb504b53bddadf292319b85807a299.tar.bz2
opensim-SC-18ca978b81fb504b53bddadf292319b85807a299.tar.xz
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
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/002_UserAccount.sql')
-rw-r--r--OpenSim/Data/MySQL/Resources/002_UserAccount.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/002_UserAccount.sql b/OpenSim/Data/MySQL/Resources/002_UserAccount.sql
new file mode 100644
index 0000000..08a0f87
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/002_UserAccount.sql
@@ -0,0 +1,5 @@
1BEGIN;
2
3INSERT INTO UserAccounts (UserID, ScopeID, FirstName, LastName, Email, ServiceURLs, Created) SELECT `UUID` AS PrincipalID, '00000000-0000-0000-0000-000000000000' AS ScopeID, username AS FirstName, lastname AS LastName, email as Email, CONCAT('AssetServerURI=', userAssetURI, ' InventoryServerURI=', userInventoryURI, ' GatewayURI= HomeURI=') AS ServiceURLs, created as Created FROM users;
4
5COMMIT;