Bugzilla – Attachment 141566 Details for
Bug 23111
Setting a custom framework as the default for cataloguing is not possible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23111: Schema changes
Bug-23111-Schema-changes.patch (text/plain), 1.65 KB, created by
David Nind
on 2022-10-10 09:11:17 UTC
(
hide
)
Description:
Bug 23111: Schema changes
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-10-10 09:11:17 UTC
Size:
1.65 KB
patch
obsolete
>From d0c3121447cf0e71f703ba1354c7a9c1b5e4e223 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Mon, 8 Aug 2022 15:49:13 +1200 >Subject: [PATCH] Bug 23111: Schema changes > >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/Schema/Result/BiblioFramework.pm | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/BiblioFramework.pm b/Koha/Schema/Result/BiblioFramework.pm >index 15755315d2..9a2084da3a 100644 >--- a/Koha/Schema/Result/BiblioFramework.pm >+++ b/Koha/Schema/Result/BiblioFramework.pm >@@ -41,6 +41,12 @@ the unique code assigned to the framework > > the description/name given to the framework > >+=head2 is_default >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -48,6 +54,8 @@ __PACKAGE__->add_columns( > { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 }, > "frameworktext", > { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, >+ "is_default", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -63,8 +71,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("frameworkcode"); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YdCNaeY5v1WcfcDuA6xE0w >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2022-08-08 15:48:35 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iVK/KxHpbOMw091sCbsCmA > > # FIXME This should not be needed, we need to add the FK at DB level > # It cannot be done now because the default framework (frameworkcode=='') >-- >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 23111
:
90550
|
90587
|
90588
|
91039
|
91040
|
91791
|
92184
|
102602
|
102603
|
104058
|
104059
|
104060
|
104061
|
104062
|
106560
|
112354
|
112468
|
138766
|
138767
|
138768
|
138769
|
138770
|
141565
|
141566
|
141567
|
141568
|
141569
|
157717
|
157718
|
157719
|
157720
|
157721
|
157722
|
157723