2 package Koha::Schema::Result::OldIssue;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::OldIssue
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<old_issues>
22 __PACKAGE__->table("old_issues");
41 datetime_undef_if_invalid: 1
59 datetime_undef_if_invalid: 1
62 =head2 lastreneweddate
65 datetime_undef_if_invalid: 1
87 data_type: 'timestamp'
88 datetime_undef_if_invalid: 1
89 default_value: current_timestamp
95 datetime_undef_if_invalid: 1
98 =head2 onsite_checkout
106 __PACKAGE__->add_columns(
108 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
110 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
113 data_type => "datetime",
114 datetime_undef_if_invalid => 1,
118 { data_type => "varchar", is_nullable => 1, size => 10 },
120 { data_type => "varchar", is_nullable => 1, size => 18 },
123 data_type => "datetime",
124 datetime_undef_if_invalid => 1,
129 data_type => "datetime",
130 datetime_undef_if_invalid => 1,
134 { data_type => "varchar", is_nullable => 1, size => 4 },
136 { data_type => "tinyint", is_nullable => 1 },
138 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
141 data_type => "timestamp",
142 datetime_undef_if_invalid => 1,
143 default_value => \"current_timestamp",
148 data_type => "datetime",
149 datetime_undef_if_invalid => 1,
153 { data_type => "integer", default_value => 0, is_nullable => 0 },
158 =head2 borrowernumber
162 Related object: L<Koha::Schema::Result::Borrower>
166 __PACKAGE__->belongs_to(
168 "Koha::Schema::Result::Borrower",
169 { borrowernumber => "borrowernumber" },
173 on_delete => "SET NULL",
174 on_update => "SET NULL",
182 Related object: L<Koha::Schema::Result::Item>
186 __PACKAGE__->belongs_to(
188 "Koha::Schema::Result::Item",
189 { itemnumber => "itemnumber" },
193 on_delete => "SET NULL",
194 on_update => "SET NULL",
199 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-03 10:40:55
200 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lNB9CDFcwG4DjD0pl14mvQ
203 # You can replace this text with custom content, and it will be preserved on regeneration