diff options
author | Diva Canto | 2009-12-29 16:51:59 -0800 |
---|---|---|
committer | Diva Canto | 2009-12-29 16:51:59 -0800 |
commit | 28516e2648068dd59c7e3c44c3212168ef0c66dd (patch) | |
tree | 5209a7cdf7fecd7ce2b31e8fbbf37d23e11c9e07 /OpenSim/Data | |
parent | * Fixed names. (diff) | |
download | opensim-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.
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/001_UserAccount.sql | 2 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/002_UserAccount.sql | 2 |
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 | ||
13 | COMMIT; | 13 | COMMIT; |
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 @@ | |||
1 | BEGIN; | 1 | BEGIN; |
2 | 2 | ||
3 | INSERT 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; | 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 | 4 | ||
5 | COMMIT; | 5 | COMMIT; |