mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
MSSQL Additions for Presence Refactor branch. Most functionality tested and works, some outstanding issues around login location and border crossings on y axis.
Signed-off-by: Melanie <melanie@t-data.com>
This commit is contained in:
12
OpenSim/Data/MSSQL/Resources/002_UserAccount.sql
Normal file
12
OpenSim/Data/MSSQL/Resources/002_UserAccount.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
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, (
|
||||
'AssetServerURI=' +
|
||||
userAssetURI + ' InventoryServerURI=' + userInventoryURI + ' GatewayURI= HomeURI=') AS ServiceURLs,
|
||||
created as Created FROM users;
|
||||
|
||||
|
||||
COMMIT
|
||||
Reference in New Issue
Block a user