Quellcode durchsuchen

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) vor 10 Jahren
Ursprung
Commit
7a4c5b067d
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  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;