Misc/Fixes: fixed erronous sql-update

This commit is contained in:
Sarjuuk
2016-06-21 20:10:12 +02:00
parent 770f11321f
commit 2bc40e9421

View File

@@ -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`