Skip to content

Commit

Permalink
bug fix of sql upgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jun 9, 2012
1 parent ea0b035 commit ae35631
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
16 changes: 0 additions & 16 deletions sql/4_0_0-to-4_1_0_upgrade.sql
Expand Up @@ -1869,19 +1869,3 @@ INSERT INTO `list_options` (`list_id`, `option_id`, `title`, `seq`, `is_default`
INSERT INTO `list_options` (`list_id`, `option_id`, `title`, `seq`, `is_default`, `option_value`, `mapping`, `notes`) VALUES ('msp_remit_codes', 'W2', 'W2', 217, 0, 0, '', 'Payment reduced or denied based on workers'' compensation jurisdictional regulations or payment policies, use only if no other code is applicable. Note: If adjustment is at the Claim Level, the payer must send and the provider should refer to the 835 Insur');
#EndIf

#IfMissingColumn x12_partners isa01
ALTER TABLE x12_partners ADD COLUMN VARCHAR( 2 ) NOT NULL DEFAULT '00' COMMENT 'User logon Required Indicator';
#EndIf

#IfMissingColumn x12_partners isa02
ALTER TABLE x12_partners ADD COLUMN VARCHAR( 10 ) NOT NULL DEFAULT ' ' COMMENT 'User Logon';
#EndIf

#IfMissingColumn x12_partners isa03
ALTER TABLE x12_partners ADD COLUMN VARCHAR( 2 ) NOT NULL DEFAULT '00' COMMENT 'User password required Indicator';
#EndIf

#IfMissingColumn x12_partners isa04
ALTER TABLE x12_partners ADD COLUMN VARCHAR( 10 ) NOT NULL DEFAULT ' ' COMMENT 'User Password';
#EndIf

16 changes: 16 additions & 0 deletions sql/4_1_0-to-4_1_1_upgrade.sql
Expand Up @@ -386,3 +386,19 @@ UPDATE `layout_options` SET `max_length`='0' WHERE `field_id`='seatbelt_use' AND
ALTER TABLE `history_data` CHANGE `usertext11` `usertext11` TEXT NOT NULL;
#EndIf

#IfMissingColumn x12_partners x12_isa01
ALTER TABLE x12_partners ADD COLUMN x12_isa01 VARCHAR( 2 ) NOT NULL DEFAULT '00' COMMENT 'User logon Required Indicator';
#EndIf

#IfMissingColumn x12_partners x12_isa02
ALTER TABLE x12_partners ADD COLUMN x12_isa02 VARCHAR( 10 ) NOT NULL DEFAULT ' ' COMMENT 'User Logon';
#EndIf

#IfMissingColumn x12_partners x12_isa03
ALTER TABLE x12_partners ADD COLUMN x12_isa03 VARCHAR( 2 ) NOT NULL DEFAULT '00' COMMENT 'User password required Indicator';
#EndIf

#IfMissingColumn x12_partners x12_isa04
ALTER TABLE x12_partners ADD COLUMN x12_isa04 VARCHAR( 10 ) NOT NULL DEFAULT ' ' COMMENT 'User Password';
#EndIf

2 changes: 1 addition & 1 deletion version.php
Expand Up @@ -17,5 +17,5 @@
// is a database change in the course of development. It is used
// internally to determine when a database upgrade is needed.
//
$v_database = 71;
$v_database = 72;
?>

0 comments on commit ae35631

Please sign in to comment.