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");
32 unique identifier assigned to each bibliographic record
37 default_value: (empty string)
41 foriegn key from the biblio_framework table to identify which framework was used in cataloging this record
48 statement of responsibility from MARC record (100$a in MARC21)
55 title (without the subtitle) from the MARC record (245$a in MARC21)
62 medium from the MARC record (245$h in MARC21)
69 remainder of the title from the MARC record (245$b in MARC21)
76 part number from the MARC record (245$n in MARC21)
83 part name from the MARC record (245$p in MARC21)
90 uniform title (without the subtitle) from the MARC record (240$a in MARC21)
97 values from the general notes field in the MARC record (500$a in MARC21) split by bar (|)
104 Boolean indicating whether biblio is for a serial
108 data_type: 'longtext'
113 data_type: 'smallint'
116 publication or copyright date from the MARC record
120 data_type: 'timestamp'
121 datetime_undef_if_invalid: 1
122 default_value: current_timestamp
125 date and time this record was last touched
130 datetime_undef_if_invalid: 1
133 the date this record was added to Koha
137 data_type: 'longtext'
140 summary from the MARC record (520$a in MARC21)
144 __PACKAGE__->add_columns(
146 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
148 { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
150 { data_type => "longtext", is_nullable => 1 },
152 { data_type => "longtext", is_nullable => 1 },
154 { data_type => "longtext", is_nullable => 1 },
156 { data_type => "longtext", is_nullable => 1 },
158 { data_type => "longtext", is_nullable => 1 },
160 { data_type => "longtext", is_nullable => 1 },
162 { data_type => "longtext", is_nullable => 1 },
164 { data_type => "longtext", is_nullable => 1 },
166 { data_type => "tinyint", is_nullable => 1 },
168 { data_type => "longtext", is_nullable => 1 },
170 { data_type => "smallint", is_nullable => 1 },
173 data_type => "timestamp",
174 datetime_undef_if_invalid => 1,
175 default_value => \"current_timestamp",
179 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
181 { data_type => "longtext", is_nullable => 1 },
188 =item * L</biblionumber>
194 __PACKAGE__->set_primary_key("biblionumber");
198 =head2 deletedbiblio_metadatas
202 Related object: L<Koha::Schema::Result::DeletedbiblioMetadata>
206 __PACKAGE__->has_many(
207 "deletedbiblio_metadatas",
208 "Koha::Schema::Result::DeletedbiblioMetadata",
209 { "foreign.biblionumber" => "self.biblionumber" },
210 { cascade_copy => 0, cascade_delete => 0 },
214 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
215 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KwlqhkWWX6CYWb3l2fCcSg
217 sub koha_objects_class {
218 'Koha::Old::Biblios';
220 sub koha_object_class {