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)
76 data_type: 'timestamp'
77 datetime_undef_if_invalid: 1
78 default_value: current_timestamp
84 datetime_undef_if_invalid: 1
94 __PACKAGE__->add_columns(
96 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
98 { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
100 { data_type => "longtext", is_nullable => 1 },
102 { data_type => "longtext", is_nullable => 1 },
104 { data_type => "longtext", is_nullable => 1 },
106 { data_type => "longtext", is_nullable => 1 },
108 { data_type => "tinyint", is_nullable => 1 },
110 { data_type => "longtext", is_nullable => 1 },
112 { data_type => "smallint", is_nullable => 1 },
115 data_type => "timestamp",
116 datetime_undef_if_invalid => 1,
117 default_value => \"current_timestamp",
121 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
123 { data_type => "longtext", is_nullable => 1 },
130 =item * L</biblionumber>
136 __PACKAGE__->set_primary_key("biblionumber");
140 =head2 deletedbiblio_metadatas
144 Related object: L<Koha::Schema::Result::DeletedbiblioMetadata>
148 __PACKAGE__->has_many(
149 "deletedbiblio_metadatas",
150 "Koha::Schema::Result::DeletedbiblioMetadata",
151 { "foreign.biblionumber" => "self.biblionumber" },
152 { cascade_copy => 0, cascade_delete => 0 },
156 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
157 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dP0HOIp/+I93Y/u92TDI1g
160 # You can replace this text with custom content, and it will be preserved on regeneration