Refactor instance suggestions

This commit is contained in:
qudzy
2022-05-03 23:48:07 +02:00
parent fe59158e7d
commit ed35a2ae67
17 changed files with 772 additions and 73 deletions

View File

@@ -0,0 +1,26 @@
USE acore_playerbots;
DROP TABLE IF EXISTS `playerbots_dungeon_suggestion_abbrevation`;
CREATE TABLE `playerbots_dungeon_suggestion_abbrevation` (
`id` TINYINT(3) NOT NULL AUTO_INCREMENT UNIQUE,
`definition_slug` VARCHAR(255) NOT NULL,
`abbrevation` VARCHAR(16) NOT NULL,
PRIMARY KEY (`id`),
KEY `definition_slug` (`definition_slug`)
)
ENGINE=MyISAM
DEFAULT CHARSET=utf8
ROW_FORMAT=FIXED
COMMENT='Playerbot dungeon suggestion abbrevations';
-- = Example =
-- INSERT INTO `playerbots_dungeon_suggestion_abbrevation` VALUES
-- (NULL, 'rfc', 'Ragefire'),
-- (NULL, 'rfc', 'RFC'),
-- (NULL, 'st', 'Sunken Temple'),
-- (NULL, 'st', 'ST'),
-- (NULL, 'stocks', 'Stockades');
-- (NULL, 'stocks', 'Stockade');