Fix errors due to '

pull/3648/head
Isaac Connor 2022-12-15 16:03:48 -05:00
parent 2f7551769a
commit 8fe28a5cc2
1 changed files with 2 additions and 2 deletions

View File

@ -2,14 +2,14 @@
-- Rename Snapshot_Events to Snapshots_Events
--
SELECT 'Checking for Snapshot_Events table'
SELECT 'Checking for Snapshot_Events table';
SET @s = (SELECT IF(
(SELECT COUNT(*)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'Snapshot_Events'
AND table_schema = DATABASE()
) > 0,
"SELECT 'Snapshot_Events doesn't exist, good.'",
"SELECT 'Snapshot_Events doesnt exist, good.'",
"ALTER TABLE `Snapshot_Events` RENAME TO Snapshots_Events`"
));