Fixed a missing field in the last regions table migration.
parent
bd6d1a2444
commit
5ce12c92d9
|
@ -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;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue