Bugzilla – Attachment 102603 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: (follow-up) Schema changes
Bug-23111-follow-up-Schema-changes.patch (text/plain), 1.61 KB, created by
Aleisha Amohia
on 2020-04-08 21:11:37 UTC
(
hide
)
Description:
Bug 23111: (follow-up) Schema changes
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2020-04-08 21:11:37 UTC
Size:
1.61 KB
patch
obsolete
>From b3e24c7559141dd0b3ab40d85df72e068473c374 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 7 Apr 2020 00:07:41 +0000 >Subject: [PATCH] Bug 23111: (follow-up) Schema changes > >--- > 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 93ed47386b..a99ea8c57c 100644 >--- a/Koha/Schema/Result/BiblioFramework.pm >+++ b/Koha/Schema/Result/BiblioFramework.pm >@@ -37,6 +37,12 @@ __PACKAGE__->table("biblio_framework"); > is_nullable: 0 > size: 255 > >+=head2 is_default >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ > =cut > > __PACKAGE__->add_columns( >@@ -44,6 +50,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, is_boolean => 1 }, > ); > > =head1 PRIMARY KEY >@@ -59,8 +67,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("frameworkcode"); > > >-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KY1w7J/5cBsz9VV7QEBKPw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-06 21:40:14 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0Ea0NwtNn2qvQBbemKImQQ > > # 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.11.0
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