1 package Koha::Schema::Result::Biblioimage;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::Biblioimage
18 __PACKAGE__->table("biblioimages");
42 data_type: 'mediumblob'
47 data_type: 'mediumblob'
52 __PACKAGE__->add_columns(
54 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
56 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
58 { data_type => "varchar", is_nullable => 0, size => 15 },
60 { data_type => "mediumblob", is_nullable => 0 },
62 { data_type => "mediumblob", is_nullable => 0 },
64 __PACKAGE__->set_primary_key("imagenumber");
72 Related object: L<Koha::Schema::Result::Biblio>
76 __PACKAGE__->belongs_to(
78 "Koha::Schema::Result::Biblio",
79 { biblionumber => "biblionumber" },
80 { on_delete => "CASCADE", on_update => "CASCADE" },
84 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
85 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9P2Yp+Ye/tJ3+aG7mQR8sQ
88 # You can replace this text with custom content, and it will be preserved on regeneration