Fixup
override foreign key checks while applying update
This commit is contained in:
parent
e80015a7cd
commit
a8d686104e
1 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- create system account
|
||||
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
|
||||
UPDATE `aowow_dbversion` SET `build` = CONCAT(`build`, ' weightPresets');
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue