Bug 17178: (QA follow-up) Make DB update idempotent

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2019-06-28 15:52:37 +01:00
parent 9e91662ac7
commit ad52ccd1be
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -1,7 +1,7 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
INSERT INTO keyboard_shortcuts (shortcut_name, shortcut_keys)
INSERT IGNORE INTO keyboard_shortcuts (shortcut_name, shortcut_keys)
VALUES ("toggle_keyboard", "Shift-Ctrl-K")
});