Add a handful of new region flags and a small migration

slimupdates
Melanie 2010-01-15 21:13:57 +00:00
parent e9d376972f
commit 0d5f182c02
2 changed files with 10 additions and 1 deletions

View File

@ -72,6 +72,9 @@ namespace OpenSim.Data
RegionOnline = 4, // Set when a region comes online, unset when it unregisters and DeleteOnUnregister is false RegionOnline = 4, // Set when a region comes online, unset when it unregisters and DeleteOnUnregister is false
NoDirectLogin = 8, // Region unavailable for direct logins (by name) NoDirectLogin = 8, // Region unavailable for direct logins (by name)
Persistent = 16, // Don't remove on unregister Persistent = 16, // Don't remove on unregister
LockedOut = 32 // Don't allow registration LockedOut = 32, // Don't allow registration
NoMove = 64, // Don't allow moving this region
Reservation = 128, // This is an inactive reservation
Authenticate = 256 // Require authentication
} }
} }

View File

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