2 package Koha
::Schema
::Result
::Biblioimage
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Biblioimage
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<biblioimages>
22 __PACKAGE__
->table("biblioimages");
46 data_type: 'mediumblob'
51 data_type: 'mediumblob'
56 __PACKAGE__
->add_columns(
58 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
60 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
62 { data_type
=> "varchar", is_nullable
=> 0, size
=> 15 },
64 { data_type
=> "mediumblob", is_nullable
=> 0 },
66 { data_type
=> "mediumblob", is_nullable
=> 0 },
73 =item * L</imagenumber>
79 __PACKAGE__
->set_primary_key("imagenumber");
87 Related object: L<Koha::Schema::Result::Biblio>
91 __PACKAGE__
->belongs_to(
93 "Koha::Schema::Result::Biblio",
94 { biblionumber
=> "biblionumber" },
95 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
99 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
100 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdDuaUrR0IC6+8jJwlev6A
103 # You can replace this text with custom content, and it will be preserved on regeneration