-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add procedures to mitigate installtion errors on update (#388)
- Loading branch information
1 parent
cd96819
commit d6d9b73
Showing
3 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
ALTER TABLE `cp_itemshop` ADD `use_existing` TINYINT NOT NULL DEFAULT '0' AFTER `info`; | ||
DROP PROCEDURE IF EXISTS cp_itemshop_20081109093448; | ||
CREATE PROCEDURE cp_itemshop_20081109093448() BEGIN | ||
DECLARE CONTINUE HANDLER FOR 1060 BEGIN END; | ||
ALTER TABLE `cp_itemshop` ADD `use_existing` TINYINT NOT NULL DEFAULT '0' AFTER `info`; | ||
END; | ||
CALL cp_itemshop_20081109093448(); | ||
DROP PROCEDURE cp_itemshop_20081109093448; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
ALTER TABLE `cp_itemshop` ADD `category` INT(11) NULL AFTER `nameid`; | ||
DROP PROCEDURE IF EXISTS cp_itemshop_20090104190020; | ||
CREATE PROCEDURE cp_itemshop_20090104190020() BEGIN | ||
DECLARE CONTINUE HANDLER FOR 1060 BEGIN END; | ||
ALTER TABLE `cp_itemshop` ADD `category` INT(11) NULL AFTER `nameid`; | ||
END; | ||
CALL cp_itemshop_20090104190020(); | ||
DROP PROCEDURE cp_itemshop_20090104190020; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
DROP PROCEDURE IF EXISTS cp_redeemlog_20081001054354; | ||
CREATE PROCEDURE cp_redeemlog_20081001054354() BEGIN | ||
DECLARE CONTINUE HANDLER FOR 1060 BEGIN END; | ||
ALTER TABLE `cp_redeemlog` | ||
ADD `credits_before` INT( 10 ) NOT NULL , | ||
ADD `credits_after` INT( 10 ) NOT NULL; | ||
ADD `credits_after` INT( 10 ) NOT NULL;END; | ||
CALL cp_redeemlog_20081001054354(); | ||
DROP PROCEDURE cp_redeemlog_20081001054354; |