ALTER TABLE `mydb`.`mini_game_bet_config` 
ADD COLUMN `min_combine` INT(11) NULL DEFAULT 0 COMMENT '조합시 최소베팅금액(파워볼)' AFTER `max`,
ADD COLUMN `max_combine` INT(11) NULL DEFAULT 0 COMMENT '조합시 최대베팅금액(파워볼)' AFTER `min_combine`;

-- UPDATE mydb.mini_game_bet_config SET min_combine = min, max_combine = max WHERE bet_type = 3;

ALTER TABLE `mydb`.`mini_game_bet` 
ADD COLUMN `is_combine` INT NULL DEFAULT 0 COMMENT '파워볼에서만 사용(0-일반, 1-조합)' AFTER `bet_price`;

UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10005');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10006');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10007');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10012');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10013');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10014');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10015');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10016');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10017');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10018');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10019');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10020');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10021');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10022');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10023');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10024');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10025');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10026');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10027');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10028');
UPDATE `mydb`.`mini_game_bet` SET `is_combine` = '1' WHERE (`game` = 'powerball') and (`markets_id` = '10029');
