Fixed Needing DB to be named exile.

This commit is contained in:
Brett Nordin 2018-03-09 21:05:21 -07:00 committed by GitHub
parent d8f915ded0
commit 374c0d1f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,19 +6,19 @@ UPDATE (clan_map_marker) SET label = REPLACE(label, '"', '');
UPDATE (territory) SET name = REPLACE(name, '"', '');
ALTER TABLE `player` CHANGE COLUMN `hitpoints` `hitpoints` VARCHAR(1024) NOT NULL DEFAULT '[]' ;
ALTER TABLE `player` DROP PRIMARY KEY, ADD PRIMARY KEY (`id`, `account_uid`);
ALTER TABLE `exile`.`vehicle`
ALTER TABLE `vehicle`
CHANGE COLUMN `hitpoints` `hitpoints` TEXT NULL ,
CHANGE COLUMN `cargo_items` `cargo_items` TEXT NULL ,
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 `exile`.`territory`
ALTER TABLE `territory`
DROP FOREIGN KEY `territory_ibfk_2`;
ALTER TABLE `exile`.`territory`
ALTER TABLE `territory`
DROP INDEX `flag_stolen_by_uid` ;
ALTER TABLE `exile`.`account`
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 `exile`.`player`
ALTER TABLE `player`
CHANGE COLUMN `money` `money` INT(50) UNSIGNED NOT NULL DEFAULT '0' ;