aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-01-15 21:13:57 +0000
committerMelanie2010-01-15 21:13:57 +0000
commit0d5f182c0235139a7bb343bf9856e064cf19e2da (patch)
treedddab9a2a923c2b66aed9793ab938eb0d317eb5a
parentAdded a UserAccountCache to the UserAccountServiceConnectors. Uses a CenomeCa... (diff)
downloadopensim-SC-0d5f182c0235139a7bb343bf9856e064cf19e2da.zip
opensim-SC-0d5f182c0235139a7bb343bf9856e064cf19e2da.tar.gz
opensim-SC-0d5f182c0235139a7bb343bf9856e064cf19e2da.tar.bz2
opensim-SC-0d5f182c0235139a7bb343bf9856e064cf19e2da.tar.xz
Add a handful of new region flags and a small migration
-rw-r--r--OpenSim/Data/IRegionData.cs5
-rw-r--r--OpenSim/Data/MySQL/Resources/007_GridStore.sql6
2 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Data/IRegionData.cs b/OpenSim/Data/IRegionData.cs
index 140bc96..9ed5dd0 100644
--- a/OpenSim/Data/IRegionData.cs
+++ b/OpenSim/Data/IRegionData.cs
@@ -72,6 +72,9 @@ namespace OpenSim.Data
72 RegionOnline = 4, // Set when a region comes online, unset when it unregisters and DeleteOnUnregister is false 72 RegionOnline = 4, // Set when a region comes online, unset when it unregisters and DeleteOnUnregister is false
73 NoDirectLogin = 8, // Region unavailable for direct logins (by name) 73 NoDirectLogin = 8, // Region unavailable for direct logins (by name)
74 Persistent = 16, // Don't remove on unregister 74 Persistent = 16, // Don't remove on unregister
75 LockedOut = 32 // Don't allow registration 75 LockedOut = 32, // Don't allow registration
76 NoMove = 64, // Don't allow moving this region
77 Reservation = 128, // This is an inactive reservation
78 Authenticate = 256 // Require authentication
76 } 79 }
77} 80}
diff --git a/OpenSim/Data/MySQL/Resources/007_GridStore.sql b/OpenSim/Data/MySQL/Resources/007_GridStore.sql
new file mode 100644
index 0000000..3f88d3d
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/007_GridStore.sql
@@ -0,0 +1,6 @@
1BEGIN;
2
3ALTER TABLE `regions` ADD COLUMN `PrincipalID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000';
4
5COMMIT;
6