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 data_type: 'timestamp'
57 datetime_undef_if_invalid: 1
58 default_value: current_timestamp
63 __PACKAGE__
->add_columns(
65 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
67 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
69 { data_type
=> "varchar", is_nullable
=> 0, size
=> 15 },
71 { data_type
=> "mediumblob", is_nullable
=> 0 },
73 { data_type
=> "mediumblob", is_nullable
=> 0 },
76 data_type
=> "timestamp",
77 datetime_undef_if_invalid
=> 1,
78 default_value
=> \"current_timestamp
",
87 =item * L</imagenumber>
93 __PACKAGE__->set_primary_key("imagenumber
");
101 Related object: L<Koha::Schema::Result::Biblio>
105 __PACKAGE__->belongs_to(
107 "Koha
::Schema
::Result
::Biblio
",
108 { biblionumber => "biblionumber
" },
109 { is_deferrable => 1, on_delete => "CASCADE
", on_update => "CASCADE
" },
113 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-20 10:39:00
114 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f6elSD3dDk6vWE4bUirmew
117 # You can replace this text with custom content, and it will be preserved on regeneration