Mantis #7629: Change LandFlags column to unsigned. Thanks, Jim!

0.8.2-post-fixes
Melanie Thielker 2015-07-14 21:16:25 +02:00
parent a7543a3391
commit 7b571a928c
2 changed files with 16 additions and 0 deletions

View File

@ -940,3 +940,11 @@ ALTER TABLE prims ADD COLUMN AttachedPosZ double default 0;
ALTER TABLE primshapes ADD COLUMN LastAttachPoint int(4) not null default '0';
COMMIT;
:VERSION 50 #---- Change LandFlags to unsigned
BEGIN;
ALTER TABLE land CHANGE COLUMN LandFlags LandFlags unsigned default null;
COMMIT;

View File

@ -1152,3 +1152,11 @@ ALTER TABLE regionwindlight ALTER draw_classic_clouds TYPE bool USING CASE WHEN
ALTER TABLE regionwindlight ALTER COLUMN draw_classic_clouds SET DEFAULT FALSE;
COMMIT;
VERSION 41 #-- Change Landlags to unsigned
BEGIN TRANSACTION;
ALTER TABLE land ALTER LandFlags TYPE unsigned;
COMMIT;