From 204badc48127701de2e11b1c94fc8264dfbb167f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 3 Feb 2020 14:49:21 +0100 Subject: [PATCH] Bug 22844: DBIC Schema changes Signed-off-by: Kyle M Hall --- Koha/Schema/Result/BorrowerAttributeType.pm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm index 46a86f07bc..307e01e15f 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -90,6 +90,12 @@ __PACKAGE__->table("borrower_attribute_types"); is_nullable: 0 size: 255 +=head2 mandatory + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -115,6 +121,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 10 }, "class", { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, + "mandatory", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -162,8 +170,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-25 20:32:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gsPR8PuUUZHFUkr3MIbTpw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-03 13:48:05 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+gaC4iMv0bphNEflh7Sm5w sub koha_object_class { 'Koha::Patron::Attribute::Type'; -- 2.20.1