Fix logic inversion

pull/3651/head
Isaac Connor 2022-12-24 09:18:04 -05:00
parent 5d87ffeac2
commit 873213559d
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ SET @s = (SELECT IF(
WHERE table_name = 'Snapshot_Events'
AND table_schema = DATABASE()
) > 0,
"SELECT 'Snapshot_Events doesnt exist, good.'",
"ALTER TABLE `Snapshot_Events` RENAME TO `Snapshots_Events`"
"ALTER TABLE `Snapshot_Events` RENAME TO `Snapshots_Events`",
"SELECT 'Snapshot_Events doesnt exist, good.'"
));
PREPARE stmt FROM @s;