aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/MySQL/Resources')
-rw-r--r--OpenSim/Data/MySQL/Resources/001_UserAccount.sql2
-rw-r--r--OpenSim/Data/MySQL/Resources/002_UserAccount.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/Resources/001_UserAccount.sql b/OpenSim/Data/MySQL/Resources/001_UserAccount.sql
index 7d63816..07da571 100644
--- a/OpenSim/Data/MySQL/Resources/001_UserAccount.sql
+++ b/OpenSim/Data/MySQL/Resources/001_UserAccount.sql
@@ -7,7 +7,7 @@ CREATE TABLE `UserAccounts` (
7 `LastName` VARCHAR(64) NOT NULL, 7 `LastName` VARCHAR(64) NOT NULL,
8 `Email` VARCHAR(64), 8 `Email` VARCHAR(64),
9 `ServiceURLs` TEXT, 9 `ServiceURLs` TEXT,
10 `Created` DATETIME 10 `Created` INT(11)
11) ENGINE=InnoDB DEFAULT CHARSET=utf8; 11) ENGINE=InnoDB DEFAULT CHARSET=utf8;
12 12
13COMMIT; 13COMMIT;
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 @@
1BEGIN; 1BEGIN;
2 2
3INSERT 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; 3INSERT 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 4
5COMMIT; 5COMMIT;