1 package Koha::Schema::Result::OldIssue;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::OldIssue
18 __PACKAGE__->table("old_issues");
56 =head2 lastreneweddate
74 data_type: 'timestamp'
75 default_value: current_timestamp
85 __PACKAGE__->add_columns(
87 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
89 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
91 { data_type => "datetime", is_nullable => 1 },
93 { data_type => "varchar", is_nullable => 1, size => 10 },
95 { data_type => "varchar", is_nullable => 1, size => 18 },
97 { data_type => "datetime", is_nullable => 1 },
99 { data_type => "datetime", is_nullable => 1 },
101 { data_type => "varchar", is_nullable => 1, size => 4 },
103 { data_type => "tinyint", is_nullable => 1 },
106 data_type => "timestamp",
107 default_value => \"current_timestamp",
111 { data_type => "datetime", is_nullable => 1 },
116 =head2 borrowernumber
120 Related object: L<Koha::Schema::Result::Borrower>
124 __PACKAGE__->belongs_to(
126 "Koha::Schema::Result::Borrower",
127 { borrowernumber => "borrowernumber" },
128 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
135 Related object: L<Koha::Schema::Result::Item>
139 __PACKAGE__->belongs_to(
141 "Koha::Schema::Result::Item",
142 { itemnumber => "itemnumber" },
143 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
147 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
148 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OmCAF2QYzR59eHr1w51seA
151 # You can replace this text with custom content, and it will be preserved on regeneration