@@ -, +, @@ --- Koha/Schema/Result/Branch.pm | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) --- a/Koha/Schema/Result/Branch.pm +++ a/Koha/Schema/Result/Branch.pm @@ -743,6 +743,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 smtp_server + +Type: might_have + +Related object: L + +=cut + +__PACKAGE__->might_have( + "smtp_server", + "Koha::Schema::Result::SmtpServer", + { "foreign.library_id" => "self.branchcode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 special_holidays Type: has_many @@ -819,8 +834,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-06-12 14:01:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hU6Ldf0uN2iV1h7llLH+4g +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-07-29 18:18:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P5lVoLz4Fbos03r6Qew/BA __PACKAGE__->add_columns( '+pickup_location' => { is_boolean => 1 } --