浏览代码

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) 10 年之前
父节点
当前提交
7a4c5b067d
共有 1 个文件被更改,包括 8 次插入0 次删除
  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;