Bugzilla – Attachment 157179 Details for
Bug 22188
Use publication date as numbering pattern
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22188: Atomic update for pubdatepatternformat
Bug-22188-Atomic-update-for-pubdatepatternformat.patch (text/plain), 1.39 KB, created by
Aleisha Amohia
on 2023-10-16 00:52:52 UTC
(
hide
)
Description:
Bug 22188: Atomic update for pubdatepatternformat
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2023-10-16 00:52:52 UTC
Size:
1.39 KB
patch
obsolete
>From 3d9eb48f2108c6ed8838015c4d4b1fabaad6615c Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Sun, 15 Oct 2023 21:45:18 +0000 >Subject: [PATCH] Bug 22188: Atomic update for pubdatepatternformat > >(cherry picked from commit 2277d729b9266c0f084b6489d52f0c4e230fe121) >--- > ..._-_add_subscription-pubdatepatternformat.pl | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_22188_-_add_subscription-pubdatepatternformat.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_22188_-_add_subscription-pubdatepatternformat.pl b/installer/data/mysql/atomicupdate/bug_22188_-_add_subscription-pubdatepatternformat.pl >new file mode 100755 >index 00000000000..c32a7555cce >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_22188_-_add_subscription-pubdatepatternformat.pl >@@ -0,0 +1,18 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "22188", >+ description => "Use publication date as numbering pattern", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ >+ if( !column_exists( 'subscription', 'pubdatepatternformat' ) ) { >+ $dbh->do(q{ >+ ALTER TABLE subscription ADD COLUMN `pubdatepatternformat` varchar(3) DEFAULT NULL AFTER `mana_id` >+ }); >+ >+ say $out "Added column 'subscription.pubdatepatternformat'"; >+ } >+ }, >+}; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22188
:
84314
|
85415
|
85540
|
85541
|
85542
|
86419
|
87433
|
88830
|
91761
|
91762
|
92185
|
92186
|
92345
|
92364
|
94290
|
94291
|
156886
|
156887
|
156888
|
156889
|
156890
|
156891
|
157009
|
157010
|
157011
|
157012
|
157013
|
157014
|
157015
| 157179 |
158638
|
158659