diff --git a/OpenSim/Data/MySQL/Resources/007_GridStore.sql b/OpenSim/Data/MySQL/Resources/007_GridStore.sql index 3f88d3d907..dbec58432e 100644 --- a/OpenSim/Data/MySQL/Resources/007_GridStore.sql +++ b/OpenSim/Data/MySQL/Resources/007_GridStore.sql @@ -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; diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index 6a83f65a5d..2f5e991f90 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs @@ -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(); } }