From 841c53003f74ef98f50590d854df7a199803dc36 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 26 Nov 2008 09:05:11 +0000 Subject: A migration to convert the floats int the database to doubles. Maybe we don't have to say "Shift happens" as often anymore.... --- OpenSim/Data/MySQL/Resources/024_RegionStore.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 OpenSim/Data/MySQL/Resources/024_RegionStore.sql (limited to 'OpenSim/Data/MySQL/Resources/024_RegionStore.sql') diff --git a/OpenSim/Data/MySQL/Resources/024_RegionStore.sql b/OpenSim/Data/MySQL/Resources/024_RegionStore.sql new file mode 100644 index 0000000..defbf5c --- /dev/null +++ b/OpenSim/Data/MySQL/Resources/024_RegionStore.sql @@ -0,0 +1,18 @@ +BEGIN; + +alter table regionsettings change column `object_bonus` `object_bonus` double NOT NULL; +alter table regionsettings change column `elevation_1_nw` `elevation_1_nw` double NOT NULL; +alter table regionsettings change column `elevation_2_nw` `elevation_2_nw` double NOT NULL; +alter table regionsettings change column `elevation_1_ne` `elevation_1_ne` double NOT NULL; +alter table regionsettings change column `elevation_2_ne` `elevation_2_ne` double NOT NULL; +alter table regionsettings change column `elevation_1_se` `elevation_1_se` double NOT NULL; +alter table regionsettings change column `elevation_2_se` `elevation_2_se` double NOT NULL; +alter table regionsettings change column `elevation_1_sw` `elevation_1_sw` double NOT NULL; +alter table regionsettings change column `elevation_2_sw` `elevation_2_sw` double NOT NULL; +alter table regionsettings change column `water_height` `water_height` double NOT NULL; +alter table regionsettings change column `terrain_raise_limit` `terrain_raise_limit` double NOT NULL; +alter table regionsettings change column `terrain_lower_limit` `terrain_lower_limit` double NOT NULL; +alter table regionsettings change column `sun_position` `sun_position` double NOT NULL; + +COMMIT; + -- cgit v1.1