Bug 27783: Add missing atomicupdate file

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Julian Maurice 2022-03-30 16:42:55 +02:00 committed by Fridolin Somers
parent 9acb599d16
commit faf2a07231

View file

@ -0,0 +1,21 @@
use Modern::Perl;
return {
bug_number => '27783',
description => 'Add background_jobs.queue',
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
ALTER TABLE `background_jobs`
ADD `queue` VARCHAR(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'default' COMMENT 'Name of the queue the job is sent to' AFTER `type`
});
$dbh->do(q{
ALTER TABLE `background_jobs`
ADD KEY `queue` (`queue`)
});
say $out "Added background_jobs.queue";
},
};