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:
Josef Moravec 2020-01-12 18:41:30 +00:00 committed by Martin Renvoize
parent 2d6801eb5c
commit ade421e896
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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);
});