mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
feat(Core/Mail): Server mail (#10628)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
INSERT INTO `version_db_characters` (`sql_rev`) VALUES ('1644531230030579700');
|
||||
|
||||
DROP TABLE IF EXISTS `mail_server_character`;
|
||||
CREATE TABLE IF NOT EXISTS `mail_server_character` (
|
||||
`guid` INT UNSIGNED NOT NULL,
|
||||
`mailId` INT UNSIGNED NOT NULL,
|
||||
PRIMARY KEY (`guid`, `mailId`)
|
||||
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4;
|
||||
|
||||
DROP TABLE IF EXISTS `mail_server_template`;
|
||||
CREATE TABLE IF NOT EXISTS `mail_server_template` (
|
||||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`reqLevel` TINYINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`reqPlayTime` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`moneyA` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`moneyH` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`itemA` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`itemCountA` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`itemH` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`itemCountH` INT UNSIGNED NOT NULL DEFAULT '0',
|
||||
`subject` TEXT NOT NULL,
|
||||
`body` TEXT NOT NULL,
|
||||
`active` TINYINT UNSIGNED NOT NULL DEFAULT '1',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4;
|
||||
@@ -0,0 +1,5 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1644531208243387100');
|
||||
|
||||
DELETE FROM `command` WHERE `name`='reload mail_server_template';
|
||||
INSERT INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('reload mail_server_template', 3, 'Syntax: .reload mail_server_template\nReload server_mail_template table.');
|
||||
Reference in New Issue
Block a user