2 package Koha
::Schema
::Result
::Patronimage
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Patronimage
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<patronimage>
22 __PACKAGE__
->table("patronimage");
40 data_type: 'mediumblob'
45 __PACKAGE__
->add_columns(
47 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
49 { data_type
=> "varchar", is_nullable
=> 0, size
=> 15 },
51 { data_type
=> "mediumblob", is_nullable
=> 0 },
58 =item * L</borrowernumber>
64 __PACKAGE__
->set_primary_key("borrowernumber");
72 Related object: L<Koha::Schema::Result::Borrower>
76 __PACKAGE__
->belongs_to(
78 "Koha::Schema::Result::Borrower",
79 { borrowernumber
=> "borrowernumber" },
80 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
84 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
85 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uuRGyWlemwOH1PCkvhqxdQ
87 sub koha_object_class
{
88 'Koha::Patron::Image';
90 sub koha_objects_class
{
91 'Koha::Patron::Images';