From 0d5f182c0235139a7bb343bf9856e064cf19e2da Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 15 Jan 2010 21:13:57 +0000 Subject: [PATCH] Add a handful of new region flags and a small migration --- OpenSim/Data/IRegionData.cs | 5 ++++- OpenSim/Data/MySQL/Resources/007_GridStore.sql | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 OpenSim/Data/MySQL/Resources/007_GridStore.sql diff --git a/OpenSim/Data/IRegionData.cs b/OpenSim/Data/IRegionData.cs index 140bc961af..9ed5dd02e3 100644 --- a/OpenSim/Data/IRegionData.cs +++ b/OpenSim/Data/IRegionData.cs @@ -72,6 +72,9 @@ namespace OpenSim.Data 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) 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 } } diff --git a/OpenSim/Data/MySQL/Resources/007_GridStore.sql b/OpenSim/Data/MySQL/Resources/007_GridStore.sql new file mode 100644 index 0000000000..3f88d3d907 --- /dev/null +++ b/OpenSim/Data/MySQL/Resources/007_GridStore.sql @@ -0,0 +1,6 @@ +BEGIN; + +ALTER TABLE `regions` ADD COLUMN `PrincipalID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000'; + +COMMIT; +