From c7f6e248e8544200871a1bf814f34e2ee0f9d977 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 14 Jul 2015 21:22:53 +0200 Subject: [PATCH] Correcting errors in previous change: MySQL needs int unsigned, not unsigned int. PGSQL has no unsigned types, changing to bigint. --- OpenSim/Data/MySQL/Resources/RegionStore.migrations | 2 +- OpenSim/Data/PGSQL/Resources/RegionStore.migrations | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Data/MySQL/Resources/RegionStore.migrations b/OpenSim/Data/MySQL/Resources/RegionStore.migrations index 7aefadb7a0..ac31380191 100644 --- a/OpenSim/Data/MySQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/MySQL/Resources/RegionStore.migrations @@ -944,7 +944,7 @@ COMMIT; BEGIN; -ALTER TABLE land CHANGE COLUMN LandFlags LandFlags unsigned default null; +ALTER TABLE land CHANGE COLUMN LandFlags LandFlags int unsigned default null; COMMIT; diff --git a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations index 3852e3a8e4..d3277f2c4a 100644 --- a/OpenSim/Data/PGSQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/PGSQL/Resources/RegionStore.migrations @@ -1153,10 +1153,10 @@ ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE; COMMIT; -VERSION 41 #-- Change Landlags to unsigned +VERSION 41 #-- Change Landlags to bigint BEGIN TRANSACTION; -ALTER TABLE land ALTER LandFlags TYPE unsigned; +ALTER TABLE land ALTER LandFlags TYPE bigint; COMMIT;