diff options
author | Diva Canto | 2010-02-21 09:39:12 -0800 |
---|---|---|
committer | Diva Canto | 2010-02-21 09:39:12 -0800 |
commit | bd5a4dab0c06bf7faf05df5be7a1c93c5e025724 (patch) | |
tree | 859aa4597b3484c5db96560824ebb2efc2eac4af /OpenSim | |
parent | * Added SQlite connector for AvatarData. Tested -- works. (diff) | |
download | opensim-SC_OLD-bd5a4dab0c06bf7faf05df5be7a1c93c5e025724.zip opensim-SC_OLD-bd5a4dab0c06bf7faf05df5be7a1c93c5e025724.tar.gz opensim-SC_OLD-bd5a4dab0c06bf7faf05df5be7a1c93c5e025724.tar.bz2 opensim-SC_OLD-bd5a4dab0c06bf7faf05df5be7a1c93c5e025724.tar.xz |
Bug fixes on field names in order to make data import work from old users table to new UserAccounts table.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/002_UserAccount.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
1 | BEGIN TRANSACTION; | 1 | BEGIN TRANSACTION; |
2 | 2 | ||
3 | 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; | 3 | 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; |
4 | 4 | ||
5 | COMMIT; | 5 | COMMIT; |