Fixed a missing field in the last regions table migration.

slimupdates
Diva Canto 2010-01-16 08:32:32 -08:00
parent bd6d1a2444
commit 5ce12c92d9
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
BEGIN;
ALTER TABLE `regions` ADD COLUMN `PrincipalID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
ALTER TABLE `regions` ADD COLUMN `Token` varchar(255) NOT NULL;
COMMIT;

View File

@ -307,7 +307,7 @@ namespace OpenSim.Services.Interfaces
kvp["access"] = Access.ToString();
kvp["regionSecret"] = RegionSecret;
kvp["owner_uuid"] = EstateOwner.ToString();
kvp["token"] = Token.ToString();
kvp["Token"] = Token.ToString();
// Maturity doesn't seem to exist in the DB
return kvp;
}
@ -365,8 +365,8 @@ namespace OpenSim.Services.Interfaces
if (kvp.ContainsKey("owner_uuid"))
EstateOwner = new UUID(kvp["owner_uuid"].ToString());
if (kvp.ContainsKey("token"))
Token = kvp["token"].ToString();
if (kvp.ContainsKey("Token"))
Token = kvp["Token"].ToString();
}
}