5 description => 'Add background_jobs.queue',
8 my ($dbh, $out) = @$args{qw(dbh out)};
10 unless ( column_exists( 'background_jobs', 'queue' ) ) {
12 ALTER TABLE `background_jobs`
13 ADD COLUMN `queue` VARCHAR(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'default' COMMENT 'Name of the queue the job is sent to' AFTER `type`
17 unless ( index_exists( 'background_jobs', 'queue' ) ) {
19 ALTER TABLE `background_jobs`
20 ADD KEY `queue` (`queue`)
24 say $out "Added background_jobs.queue";