Update Exile_Database_Update_64x.sql

Fix duplicated querys
This commit is contained in:
StokesMagee 2018-03-18 08:49:42 -04:00 committed by GitHub
parent 47c5014eac
commit efd80d42e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,26 +13,16 @@ CHANGE COLUMN `cargo_magazines` `cargo_magazines` TEXT NULL ,
CHANGE COLUMN `cargo_weapons` `cargo_weapons` TEXT NULL ,
CHANGE COLUMN `cargo_container` `cargo_container` TEXT NULL ,
CHANGE COLUMN `vehicle_texture` `vehicle_texture` TEXT NULL ;
ALTER TABLE `territory`
DROP FOREIGN KEY `territory_ibfk_2`;
ALTER TABLE `territory`
DROP INDEX `flag_stolen_by_uid` ;
ALTER TABLE `account`
CHANGE COLUMN `score` `score` INT(50) NOT NULL DEFAULT '0' ,
CHANGE COLUMN `locker` `locker` INT(50) NOT NULL DEFAULT '0' ;
ALTER TABLE `player`
CHANGE COLUMN `money` `money` INT(50) UNSIGNED NOT NULL DEFAULT '0' ;
ALTER TABLE `container`
DROP FOREIGN KEY `container_ibfk_2`;
ALTER TABLE `container`
DROP INDEX `territory_id` ;
ALTER TABLE `construction`
DROP FOREIGN KEY `construction_ibfk_2`;
ALTER TABLE `construction`
DROP INDEX `territory_id` ;
ALTER TABLE `territory`
DROP FOREIGN KEY `territory_ibfk_2`;
ALTER TABLE `territory`
DROP INDEX `flag_stolen_by_uid` ;
ALTER TABLE `container` DROP FOREIGN KEY `container_ibfk_2`;
ALTER TABLE `container` DROP INDEX `territory_id` ;
ALTER TABLE `construction` DROP FOREIGN KEY `construction_ibfk_2`;
ALTER TABLE `construction` DROP INDEX `territory_id` ;
ALTER TABLE `territory` DROP FOREIGN KEY `territory_ibfk_2`;
ALTER TABLE `territory` DROP INDEX `flag_stolen_by_uid` ;
ALTER TABLE `vehicle` DROP FOREIGN KEY `vehicle_ibfk_2`;
ALTER TABLE `vehicle` DROP INDEX `vehicle_ibfk_2_idx` ;