mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add 1.0.6 SQL updates
This commit is contained in:
7
Server Files/SQL/1.0.6_Updates.sql
Normal file
7
Server Files/SQL/1.0.6_Updates.sql
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
-- ----------------------------
|
||||||
|
-- Run to replace legacy bloodbag with universal type if using DZE_UseBloodTypes = true;
|
||||||
|
-- ----------------------------
|
||||||
|
UPDATE `Traders_DATA` SET `item` = '["bloodBagONEG",1]' WHERE `item` = '["ItemBloodbag",1]';
|
||||||
|
UPDATE character_data SET Backpack = REPLACE(Backpack, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Backpack, 'ItemBloodbag') > 0;
|
||||||
|
UPDATE character_data SET Inventory = REPLACE(Inventory, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Inventory, 'ItemBloodbag') > 0;
|
||||||
|
UPDATE object_data SET Inventory = REPLACE(Inventory, 'ItemBloodbag', 'bloodBagONEG') WHERE INSTR(Inventory, 'ItemBloodbag') > 0;
|
||||||
Reference in New Issue
Block a user