From faf2a0723188c0b5d9a8cabe6a251d7ffb548784 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 30 Mar 2022 16:42:55 +0200 Subject: [PATCH] Bug 27783: Add missing atomicupdate file Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- .../data/mysql/atomicupdate/bug-27783.pl | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug-27783.pl diff --git a/installer/data/mysql/atomicupdate/bug-27783.pl b/installer/data/mysql/atomicupdate/bug-27783.pl new file mode 100644 index 0000000000..7fee204990 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug-27783.pl @@ -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"; + }, +}; -- 2.39.5