From 598ba5d6ae76db8cb40dc92a4dc8015dbff1573b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 23 Jan 2020 11:14:12 +0000 Subject: [PATCH] fix the dbs migrations --- OpenSim/Data/PGSQL/Resources/RegionStore.migrations | 2 +- OpenSim/Data/SQLite/Resources/RegionStore.migrations | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations index 6690da2605..e0e788f73d 100644 --- a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations @@ -1233,7 +1233,7 @@ BEGIN TRANSACTION; ALTER TABLE prims ADD "Vehicle" TEXT; COMMIT; -:VERSION 48 #----- Add standtarget and sit range +:VERSION 49 #----- Add standtarget and sit range BEGIN; ALTER TABLE `prims` diff --git a/OpenSim/Data/SQLite/Resources/RegionStore.migrations b/OpenSim/Data/SQLite/Resources/RegionStore.migrations index daabe93b19..a1bb78d3cf 100644 --- a/OpenSim/Data/SQLite/Resources/RegionStore.migrations +++ b/OpenSim/Data/SQLite/Resources/RegionStore.migrations @@ -381,9 +381,8 @@ COMMIT; :VERSION 37 #----- Add standtarget and sit range BEGIN; -ALTER TABLE `prims` -ADD COLUMN `standtargetx` float NOT NULL DEFAULT '0.0', -ADD COLUMN `standtargety` float NOT NULL DEFAULT '0.0', -ADD COLUMN `standtargetz` float NOT NULL DEFAULT '0.0', -ADD COLUMN `sitactrange` float NOT NULL DEFAULT '0.0'; +ALTER TABLE `prims` ADD COLUMN `standtargetx` float NOT NULL DEFAULT '0.0'; +ALTER TABLE `prims` ADD COLUMN `standtargety` float NOT NULL DEFAULT '0.0'; +ALTER TABLE `prims` ADD COLUMN `standtargetz` float NOT NULL DEFAULT '0.0'; +ALTER TABLE `prims` ADD COLUMN `sitactrange` float NOT NULL DEFAULT '0.0'; COMMIT;