mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
refactor(Core/Motd): Move motd from conf to db (#15111)
This commit is contained in:
11
data/sql/updates/pending_db_auth/rev_1676759011048897700.sql
Normal file
11
data/sql/updates/pending_db_auth/rev_1676759011048897700.sql
Normal 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.');
|
||||
Reference in New Issue
Block a user