From edfb5285b9d2bdd3fc55b037e1d70ef69ee17fb6 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 22 Apr 2020 21:02:16 +0000 Subject: [PATCH] Bug 23111: Schema changes If not testing on a sandbox, do not apply this patch. Instead, apply first patch, update dbix files, then apply final patch and test. --- 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 93ed47386b3..7e2ed796c17 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 }, ); =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-22 21:01:26 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lnge8EwznNb2oQYZCe1zRw # 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