From d23d9f931a777c243da6d72c179fa2b28cf4adbb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 20 Jul 2020 14:42:46 +0200 Subject: [PATCH] Bug 22844: DBIC schema changes Signed-off-by: Jonathan Druart --- 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 849e3315de..1d807f5081 100644 --- a/Koha/Schema/Result/BorrowerAttributeType.pm +++ b/Koha/Schema/Result/BorrowerAttributeType.pm @@ -96,6 +96,12 @@ __PACKAGE__->table("borrower_attribute_types"); default_value: 0 is_nullable: 0 +=head2 mandatory + + data_type: 'tinyint' + default_value: 0 + is_nullable: 0 + =cut __PACKAGE__->add_columns( @@ -123,6 +129,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, "keep_for_pseudonymization", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "mandatory", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -185,8 +193,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-11 18:00:12 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MMozmna9C3PseXF0Qskznw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-07-20 12:40:43 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+5TTNyiyjJkADhbkSLvGLw __PACKAGE__->add_columns( '+keep_for_pseudonymization' => { is_boolean => 1 }, -- 2.39.2