diff --git a/server/src/migrations/2020-08-16-130513_item_persistence/up.sql b/server/src/migrations/2020-08-16-130513_item_persistence/up.sql index c102405825..3ac1ae2b53 100644 --- a/server/src/migrations/2020-08-16-130513_item_persistence/up.sql +++ b/server/src/migrations/2020-08-16-130513_item_persistence/up.sql @@ -602,6 +602,18 @@ INSERT INTO _temp_item_defs VALUES('common.items.weapons.sword.wood_sword','Wood -- Accounts for renamed "Powerful Potion" item INSERT INTO _temp_item_defs VALUES('common.items.boss_drops.potions','Powerful Potion',''); +-- Accounts for renamed "Weightless Rod" item +INSERT INTO _temp_item_defs VALUES('common.items.debug.boost', 'Weightless Rod', 'Boost'); + +-- Accounts for renamed "Sturdy Bihander" item +INSERT INTO _temp_item_defs VALUES('common.items.weapons.sword.zweihander_sword_0','Sturdy Bihander','Zweihander0'); + +-- Accounts for renamed "Sharp Kitchen Knife" item +INSERT INTO _temp_item_defs VALUES('common.items.weapons.dagger.starter_dagger','Sharp Kitchen Knife','BasicDagger'); + +-- Accounts for renamed "A Shield" item +INSERT INTO _temp_item_defs VALUES('common.items.weapons.shield.shield_1','A Shield','BasicShield'); + -- Remove items that have another item with an identical Weapon/Armor Kind and Name so are -- therefore indistinguishable in inventory/loadout JSON DELETE FROM _temp_item_defs WHERE item_definition_id = 'common.items.utility.bomb_pile'; diff --git a/server/src/persistence/mod.rs b/server/src/persistence/mod.rs index 82ba256dd8..b7a87c199a 100644 --- a/server/src/persistence/mod.rs +++ b/server/src/persistence/mod.rs @@ -29,7 +29,7 @@ pub type PersistedComponents = (comp::Body, comp::Stats, comp::Inventory, comp:: // This macro is called at build-time, and produces the necessary migration info // for the `embedded_migrations` call below. // -// NOTE: Adding a useless comment to trigger the migrations being run. Delete +// NOTE: Adding a useless comment to trigger the migrations being run. Alter // when needed. embed_migrations!();