override foreign key checks while applying update
This commit is contained in:
Sarjuuk
2016-03-18 18:43:14 +01:00
parent e80015a7cd
commit a8d686104e

View File

@@ -1,3 +1,5 @@
SET FOREIGN_KEY_CHECKS=0;
-- create system account -- create system account
REPLACE INTO `aowow_account` (`id`, `user`, `displayName`) VALUES (0, '<system>', 'AoWoW'); REPLACE INTO `aowow_account` (`id`, `user`, `displayName`) VALUES (0, '<system>', 'AoWoW');
@@ -343,3 +345,5 @@ ALTER TABLE `aowow_comments_rates`
-- auto-create datasets/weight-presets -- auto-create datasets/weight-presets
UPDATE `aowow_dbversion` SET `build` = CONCAT(`build`, ' weightPresets'); UPDATE `aowow_dbversion` SET `build` = CONCAT(`build`, ' weightPresets');
SET FOREIGN_KEY_CHECKS=1;