Fix logic inversion

This commit is contained in:
Isaac Connor
2022-12-24 09:18:04 -05:00
parent 5d87ffeac2
commit 873213559d

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;