mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
A migration to convert the floats int the database to doubles.
Maybe we don't have to say "Shift happens" as often anymore....
This commit is contained in:
18
OpenSim/Data/MySQL/Resources/024_RegionStore.sql
Normal file
18
OpenSim/Data/MySQL/Resources/024_RegionStore.sql
Normal file
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user