From bd5a4dab0c06bf7faf05df5be7a1c93c5e025724 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 21 Feb 2010 09:39:12 -0800 Subject: Bug fixes on field names in order to make data import work from old users table to new UserAccounts table. --- OpenSim/Data/SQLite/Resources/002_UserAccount.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Data/SQLite/Resources/002_UserAccount.sql') diff --git a/OpenSim/Data/SQLite/Resources/002_UserAccount.sql b/OpenSim/Data/SQLite/Resources/002_UserAccount.sql index c0b3d7b..c7a6293 100644 --- a/OpenSim/Data/SQLite/Resources/002_UserAccount.sql +++ b/OpenSim/Data/SQLite/Resources/002_UserAccount.sql @@ -1,5 +1,5 @@ BEGIN TRANSACTION; -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; +INSERT INTO UserAccounts (PrincipalID, ScopeID, FirstName, LastName, Email, ServiceURLs, Created) SELECT `UUID` AS PrincipalID, '00000000-0000-0000-0000-000000000000' AS ScopeID, username AS FirstName, surname AS LastName, '' as Email, '' AS ServiceURLs, created as Created FROM users; COMMIT; -- cgit v1.1