fix the dbs migrations

master
UbitUmarov 2020-01-23 11:14:12 +00:00
parent f61b83b1ea
commit 598ba5d6ae
2 changed files with 5 additions and 6 deletions

View File

@ -1233,7 +1233,7 @@ BEGIN TRANSACTION;
ALTER TABLE prims ADD "Vehicle" TEXT; ALTER TABLE prims ADD "Vehicle" TEXT;
COMMIT; COMMIT;
:VERSION 48 #----- Add standtarget and sit range :VERSION 49 #----- Add standtarget and sit range
BEGIN; BEGIN;
ALTER TABLE `prims` ALTER TABLE `prims`

View File

@ -381,9 +381,8 @@ COMMIT;
:VERSION 37 #----- Add standtarget and sit range :VERSION 37 #----- Add standtarget and sit range
BEGIN; BEGIN;
ALTER TABLE `prims` ALTER TABLE `prims` ADD COLUMN `standtargetx` float NOT NULL DEFAULT '0.0';
ADD COLUMN `standtargetx` float NOT NULL DEFAULT '0.0', ALTER TABLE `prims` ADD COLUMN `standtargety` float NOT NULL DEFAULT '0.0';
ADD COLUMN `standtargety` float NOT NULL DEFAULT '0.0', ALTER TABLE `prims` ADD COLUMN `standtargetz` float NOT NULL DEFAULT '0.0';
ADD COLUMN `standtargetz` float NOT NULL DEFAULT '0.0', ALTER TABLE `prims` ADD COLUMN `sitactrange` float NOT NULL DEFAULT '0.0';
ADD COLUMN `sitactrange` float NOT NULL DEFAULT '0.0';
COMMIT; COMMIT;