diff --git a/Server Files/SQL/1.0.6_Updates.sql b/Server Files/SQL/1.0.6_Updates.sql new file mode 100644 index 000000000..b26cbae72 --- /dev/null +++ b/Server Files/SQL/1.0.6_Updates.sql @@ -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; \ No newline at end of file