feat(Core/ItemHandler): Optional item recovery (#2442)

This commit is contained in:
IntelligentQuantum
2019-12-09 10:33:33 +03:30
committed by Stoabrogga
parent e337f1e38d
commit b6c0f58dda
8 changed files with 125 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
INSERT INTO `version_db_characters` (`sql_rev`) VALUES ('1575656087867346414');
CREATE TABLE IF NOT EXISTS `recovery_item` (
`Id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`Guid` int(11) unsigned NOT NULL DEFAULT 0,
`ItemEntry` mediumint(8) unsigned NOT NULL DEFAULT 0,
`Count` int(11) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`Id`),
KEY `idx_guid` (`Guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;