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/002_UserAccount.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 OpenSim/Data/MySQL/Resources/002_UserAccount.sql (limited to 'OpenSim/Data/MySQL/Resources/002_UserAccount.sql') 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 @@ +BEGIN; + +INSERT 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; + +COMMIT; -- cgit v1.1 From 28516e2648068dd59c7e3c44c3212168ef0c66dd Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 29 Dec 2009 16:51:59 -0800 Subject: Fixed a couple of bugs that were bombing the data migration. --- OpenSim/Data/MySQL/Resources/002_UserAccount.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Data/MySQL/Resources/002_UserAccount.sql') diff --git a/OpenSim/Data/MySQL/Resources/002_UserAccount.sql b/OpenSim/Data/MySQL/Resources/002_UserAccount.sql index 08a0f87..ad2ddda 100644 --- a/OpenSim/Data/MySQL/Resources/002_UserAccount.sql +++ b/OpenSim/Data/MySQL/Resources/002_UserAccount.sql @@ -1,5 +1,5 @@ BEGIN; -INSERT 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; +INSERT INTO UserAccounts (PrincipalID, 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; COMMIT; -- cgit v1.1