refactor(Core/Motd): Move motd from conf to db (#15111)

This commit is contained in:
Kitzunu
2023-02-20 22:07:26 +01:00
committed by GitHub
parent bd7f139bb8
commit 0c4feb6744
13 changed files with 126 additions and 36 deletions

View File

@@ -0,0 +1,11 @@
--
DROP TABLE IF EXISTS `motd`;
CREATE TABLE `motd` (
`realmid` INT NOT NULL,
`text` LONGTEXT NULL DEFAULT NULL,
PRIMARY KEY (`realmid`)
) ENGINE=InnoDB;
DELETE FROM `motd` WHERE `realmid`=1;
INSERT INTO `motd` (`realmid`, `text`) VALUES
(-1, 'Welcome to an AzerothCore server.');