diff options
author | Diva Canto | 2010-02-20 17:52:38 -0800 |
---|---|---|
committer | Diva Canto | 2010-02-20 17:52:38 -0800 |
commit | 0ab6aac05255078a9d190f6623b2d86d5253d955 (patch) | |
tree | 311cb082d2a7f41496ae000562b38bdb2b7111d5 /OpenSim/Data/SQLite/Resources/002_UserAccount.sql | |
parent | * Added a sanity check for missing asset data in LLClientView (diff) | |
download | opensim-SC-0ab6aac05255078a9d190f6623b2d86d5253d955.zip opensim-SC-0ab6aac05255078a9d190f6623b2d86d5253d955.tar.gz opensim-SC-0ab6aac05255078a9d190f6623b2d86d5253d955.tar.bz2 opensim-SC-0ab6aac05255078a9d190f6623b2d86d5253d955.tar.xz |
Added UserAccountData and auth to the SQLite connector. Compiles, runs, but access to these tables doesn't work.
Diffstat (limited to 'OpenSim/Data/SQLite/Resources/002_UserAccount.sql')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/002_UserAccount.sql | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/002_UserAccount.sql b/OpenSim/Data/SQLite/Resources/002_UserAccount.sql new file mode 100644 index 0000000..c0b3d7b --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/002_UserAccount.sql | |||
@@ -0,0 +1,5 @@ | |||
1 | BEGIN TRANSACTION; | ||
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; | ||
4 | |||
5 | COMMIT; | ||