From e2ffc17d1fa3d0daac74181e2556ec53fe3159a0 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 25 Jun 2020 17:44:23 +0100 Subject: [PATCH] fix sqlite region migrations --- OpenSim/Data/SQLite/Resources/RegionStore.migrations | 2 +- OpenSim/Data/SQLite/SQLiteSimulationData.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Data/SQLite/Resources/RegionStore.migrations b/OpenSim/Data/SQLite/Resources/RegionStore.migrations index 3de115df83..caf6efc07d 100644 --- a/OpenSim/Data/SQLite/Resources/RegionStore.migrations +++ b/OpenSim/Data/SQLite/Resources/RegionStore.migrations @@ -188,7 +188,7 @@ CREATE TABLE IF NOT EXISTS land( `MediaType` VARCHAR(32) NOT NULL DEFAULT 'none/none', `MediaDescription` VARCHAR(255) NOT NULL DEFAULT '', `MediaSize` VARCHAR(16) NOT NULL DEFAULT '0,0', - MediaLoop` BOOLEAN NOT NULL DEFAULT FALSE, + `MediaLoop` BOOLEAN NOT NULL DEFAULT FALSE, `ObscureMusic` BOOLEAN NOT NULL DEFAULT FALSE, `ObscureMedia` BOOLEAN NOT NULL DEFAULT FALSE); diff --git a/OpenSim/Data/SQLite/SQLiteSimulationData.cs b/OpenSim/Data/SQLite/SQLiteSimulationData.cs index 0d5256bb76..918990afc6 100644 --- a/OpenSim/Data/SQLite/SQLiteSimulationData.cs +++ b/OpenSim/Data/SQLite/SQLiteSimulationData.cs @@ -1247,6 +1247,8 @@ namespace OpenSim.Data.SQLite createCol(prims, "PassCollisions", typeof(bool)); createCol(prims, "Vehicle", typeof(string)); + createCol(prims, "RotationAxisLocks", typeof(byte)); + createCol(prims, "PhysInertia", typeof(string)); createCol(prims, "standtargetx", typeof(float)); @@ -1298,6 +1300,7 @@ namespace OpenSim.Data.SQLite createCol(shapes, "ProfileCurve", typeof(Int32)); createCol(shapes, "ProfileHollow", typeof(Int32)); createCol(shapes, "State", typeof(Int32)); + createCol(shapes, "LastAttachPoint", typeof(Int32)); // text TODO: this isn't right, but I'm not sure the right // way to specify this as a blob atm createCol(shapes, "Texture", typeof(Byte[]));