aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2009-12-29 16:51:59 -0800
committerDiva Canto2009-12-29 16:51:59 -0800
commit28516e2648068dd59c7e3c44c3212168ef0c66dd (patch)
tree5209a7cdf7fecd7ce2b31e8fbbf37d23e11c9e07
parent* Fixed names. (diff)
downloadopensim-SC_OLD-28516e2648068dd59c7e3c44c3212168ef0c66dd.zip
opensim-SC_OLD-28516e2648068dd59c7e3c44c3212168ef0c66dd.tar.gz
opensim-SC_OLD-28516e2648068dd59c7e3c44c3212168ef0c66dd.tar.bz2
opensim-SC_OLD-28516e2648068dd59c7e3c44c3212168ef0c66dd.tar.xz
Fixed a couple of bugs that were bombing the data migration.
-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;