-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing spaces to translations in mangos_string (#2200)
- Loading branch information
1 parent
b2833ab
commit 7fc5357
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
DROP PROCEDURE IF EXISTS add_migration; | ||
delimiter ?? | ||
CREATE PROCEDURE `add_migration`() | ||
BEGIN | ||
DECLARE v INT DEFAULT 1; | ||
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20230921171542'); | ||
IF v=0 THEN | ||
INSERT INTO `migrations` VALUES ('20230921171542'); | ||
|
||
UPDATE `mangos_string` SET | ||
`content_loc1` = CONCAT( `content_loc1` , ' '), | ||
`content_loc2` = CONCAT( `content_loc2` , ' '), | ||
`content_loc3` = CONCAT( `content_loc3` , ' '), | ||
`content_loc4` = CONCAT( `content_loc4` , ' '), | ||
`content_loc6` = CONCAT( `content_loc6` , ' '), | ||
`content_loc8` = CONCAT( `content_loc8` , ' ') | ||
WHERE `entry` IN (30, 45, 61, 62, 100, 206, 439, 441, 514, 515, 516, 518, 519, 520, 581, 1137, 1400, 1401, 1402, 1403, 1404, 1405, | ||
1406, 1407, 1408, 1409, 1410, 1411, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, | ||
1427, 1428, 1429, 1430, 1431, 1432, 1433, 2003, 2004, 2017, 2018, 2019, 2020, 2021, 2025, 2030, 618, 1176); | ||
|
||
-- End of migration. | ||
END IF; | ||
END?? | ||
delimiter ; | ||
CALL add_migration(); | ||
DROP PROCEDURE IF EXISTS add_migration; |