fix(db_world): include dist and angle in creature_formations INSERT

MariaDB strict mode rejects INSERTs that omit NOT NULL columns without
defaults. Align second INSERT in 2023_05_09_01.sql with the first block.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dawnforger
2026-05-09 00:29:42 -05:00
parent 579574acb3
commit 36fdf9af82
+10 -10
View File
@@ -58,16 +58,16 @@ INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`,
(90991, 90993, 4, 270, 515); (90991, 90993, 4, 270, 515);
DELETE FROM `creature_formations` WHERE `memberGUID` IN (91247,91248,91249,90985,90986,90987,90988,90989,90990); DELETE FROM `creature_formations` WHERE `memberGUID` IN (91247,91248,91249,90985,90986,90987,90988,90989,90990);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `groupAI`) VALUES INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(91247, 91247, 3), (91247, 91247, 0, 0, 3),
(91247, 91248, 3), (91247, 91248, 0, 0, 3),
(91247, 91249, 3), (91247, 91249, 0, 0, 3),
(90985, 90985, 3), (90985, 90985, 0, 0, 3),
(90985, 90986, 3), (90985, 90986, 0, 0, 3),
(90985, 90987, 3), (90985, 90987, 0, 0, 3),
(90988, 90988, 3), (90988, 90988, 0, 0, 3),
(90988, 90989, 3), (90988, 90989, 0, 0, 3),
(90988, 90990, 3); (90988, 90990, 0, 0, 3);
UPDATE `creature` SET `id1` = 15384 WHERE `guid` = 91250 AND `id1` = 19871; UPDATE `creature` SET `id1` = 15384 WHERE `guid` = 91250 AND `id1` = 19871;