mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Fixup
override foreign key checks while applying update
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user