Bug 23354: (QA follow-up) Make db update idempotent
Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
2d6801eb5c
commit
ade421e896
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if( CheckVersion( $DBversion ) ) {
|
|||
});
|
||||
|
||||
$dbh->do(q{
|
||||
INSERT INTO account_credit_types ( code, description, can_be_added_manually, is_system )
|
||||
INSERT IGNORE INTO account_credit_types ( code, description, can_be_added_manually, is_system )
|
||||
VALUES ('PURCHASE', 'Purchase', 0, 1);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue