escape the word Groups

This commit is contained in:
Isaac Connor 2020-11-23 19:31:21 -05:00
parent 1b5448ede4
commit 4deb3a8d84
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ SET @s = (SELECT IF(
AND column_name = 'ParentId'
) > 0,
"SELECT 'Column GroupId exists in Groups'",
"ALTER TABLE Groups ADD `ParentId` int(10) unsigned AFTER `Name`"
"ALTER TABLE `Groups` ADD `ParentId` int(10) unsigned AFTER `Name`"
));
PREPARE stmt FROM @s;