From 2bc40e9421fc80fcd584077ab156d49676435de7 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Tue, 21 Jun 2016 20:10:12 +0200 Subject: [PATCH] Misc/Fixes: fixed erronous sql-update --- setup/updates/1438878038_01.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/updates/1438878038_01.sql b/setup/updates/1438878038_01.sql index f109a37e..edf5f3df 100644 --- a/setup/updates/1438878038_01.sql +++ b/setup/updates/1438878038_01.sql @@ -12,7 +12,7 @@ ALTER TABLE `aowow_home_featuredbox` CHANGE COLUMN `active` `active` tinyint(1) unsigned NOT NULL AFTER `editDate`, ADD CONSTRAINT `FK_acc_hFBox` FOREIGN KEY (`editorId`) REFERENCES `aowow_account` (`id`) ON UPDATE CASCADE ON DELETE SET NULL; -RENAME TABLE `aowow_news_overlay` TO `aowow_home_featurebox_overlay`; +RENAME TABLE `aowow_news_overlay` TO `aowow_home_featuredbox_overlay`; ALTER TABLE `aowow_home_featuredbox_overlay` ALTER `newsId` DROP DEFAULT; ALTER TABLE `aowow_home_featuredbox_overlay`