Bugzilla – Attachment 145698 Details for
Bug 27424
One should be able to assign an SMTP server as the default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27424: Update schema file
Bug-27424-Update-schema-file.patch (text/plain), 1.64 KB, created by
Kyle M Hall (khall)
on 2023-01-26 18:44:45 UTC
(
hide
)
Description:
Bug 27424: Update schema file
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-01-26 18:44:45 UTC
Size:
1.64 KB
patch
obsolete
>From 2f67e6a4a7083a29d25f2075b83d250375df2382 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Thu, 20 Jan 2022 14:25:39 -0500 >Subject: [PATCH] Bug 27424: Update schema file > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/SmtpServer.pm | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > >diff --git a/Koha/Schema/Result/SmtpServer.pm b/Koha/Schema/Result/SmtpServer.pm >index 6761c21bb4..43906a102a 100644 >--- a/Koha/Schema/Result/SmtpServer.pm >+++ b/Koha/Schema/Result/SmtpServer.pm >@@ -78,6 +78,12 @@ __PACKAGE__->table("smtp_servers"); > default_value: 0 > is_nullable: 0 > >+=head2 is_default >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -108,6 +114,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 80 }, > "debug", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "is_default", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -140,11 +148,12 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-21 18:02:08 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OpyR6JhcwWKQP2+hyaLiww >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-20 18:18:33 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:D+EewRQjaYPN3VEOAt8Tkg > > __PACKAGE__->add_columns( >- '+debug' => { is_boolean => 1 } >+ '+debug' => { is_boolean => 1 }, >+ '+is_default' => { is_boolean => 1 }, > ); > > sub koha_objects_class { >-- >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 27424
:
129673
|
129674
|
129675
|
129814
|
130168
|
130169
|
130170
|
130171
|
130172
|
130300
|
130301
|
130302
|
130303
|
130304
|
145697
| 145698 |
145699
|
145700
|
145701
|
145702
|
145705
|
145723
|
145724
|
145725
|
152192