Explorar o código

Add MSSQL EstateStore.migrations VERSION 10 transaction to add AllowLandMark, AllowParcelChanges and AllowSetHome columns to estate_settings table.

Taken from http://opensimulator.org/mantis/view.php?id=7074 by LuciusSirnah.  Thanks!
Justin Clark-Casey (justincc) %!s(int64=10) %!d(string=hai) anos
pai
achega
7a4c5b067d
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      OpenSim/Data/MSSQL/Resources/EstateStore.migrations

+ 8 - 0
OpenSim/Data/MSSQL/Resources/EstateStore.migrations

@@ -331,4 +331,12 @@ ALTER TABLE dbo.estate_map ADD CONSTRAINT
 
 COMMIT
 
+:VERSION 10
 
+BEGIN transaction
+
+ALTER TABLE estate_settings ADD AllowLandmark tinyint NOT NULL default 1;
+ALTER TABLE estate_settings ADD AllowParcelChanges tinyint NOT NULL default 1;
+ALTER TABLE estate_settings ADD AllowSetHome tinyint NOT NULL default 1;
+
+COMMIT;