2 package Koha
::Schema
::Result
::Deletedbiblio
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Deletedbiblio
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<deletedbiblio>
22 __PACKAGE__
->table("deletedbiblio");
35 default_value: (empty string)
96 data_type: 'timestamp'
97 datetime_undef_if_invalid: 1
98 default_value: current_timestamp
104 datetime_undef_if_invalid: 1
109 data_type: 'longtext'
114 __PACKAGE__
->add_columns(
116 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
118 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 4 },
120 { data_type
=> "longtext", is_nullable
=> 1 },
122 { data_type
=> "longtext", is_nullable
=> 1 },
124 { data_type
=> "longtext", is_nullable
=> 1 },
126 { data_type
=> "longtext", is_nullable
=> 1 },
128 { data_type
=> "longtext", is_nullable
=> 1 },
130 { data_type
=> "longtext", is_nullable
=> 1 },
132 { data_type
=> "longtext", is_nullable
=> 1 },
134 { data_type
=> "longtext", is_nullable
=> 1 },
136 { data_type
=> "tinyint", is_nullable
=> 1 },
138 { data_type
=> "longtext", is_nullable
=> 1 },
140 { data_type
=> "smallint", is_nullable
=> 1 },
143 data_type
=> "timestamp",
144 datetime_undef_if_invalid
=> 1,
145 default_value
=> \"current_timestamp
",
149 { data_type => "date
", datetime_undef_if_invalid => 1, is_nullable => 0 },
151 { data_type => "longtext
", is_nullable => 1 },
158 =item * L</biblionumber>
164 __PACKAGE__->set_primary_key("biblionumber
");
168 =head2 deletedbiblio_metadatas
172 Related object: L<Koha::Schema::Result::DeletedbiblioMetadata>
176 __PACKAGE__->has_many(
177 "deletedbiblio_metadatas
",
178 "Koha
::Schema
::Result
::DeletedbiblioMetadata
",
179 { "foreign
.biblionumber
" => "self
.biblionumber
" },
180 { cascade_copy => 0, cascade_delete => 0 },
184 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-05 13:53:34
185 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQaznWmkfR2Ge5NG8lDmSw
187 sub koha_objects_class {
188 'Koha::Old::Biblios';
190 sub koha_object_class {