2 package Koha::Schema::Result::TmpHoldsqueue;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::TmpHoldsqueue
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<tmp_holdsqueue>
22 __PACKAGE__->table("tmp_holdsqueue");
51 data_type: 'mediumtext'
56 data_type: 'mediumtext'
74 datetime_undef_if_invalid: 1
102 data_type: 'mediumtext'
105 =head2 item_level_request
113 data_type: 'timestamp'
114 datetime_undef_if_invalid: 1
115 default_value: current_timestamp
118 date and time this entry as added/last updated
122 __PACKAGE__->add_columns(
124 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
126 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
128 { data_type => "varchar", is_nullable => 1, size => 20 },
130 { data_type => "longtext", is_nullable => 0 },
132 { data_type => "mediumtext", is_nullable => 1 },
134 { data_type => "mediumtext", is_nullable => 1 },
136 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
138 { data_type => "varchar", is_nullable => 1, size => 32 },
140 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
142 { data_type => "longtext", is_nullable => 1 },
144 { data_type => "varchar", is_nullable => 1, size => 255 },
146 { data_type => "varchar", is_nullable => 1, size => 10 },
148 { data_type => "varchar", is_nullable => 1, size => 10 },
150 { data_type => "mediumtext", is_nullable => 1 },
151 "item_level_request",
152 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
155 data_type => "timestamp",
156 datetime_undef_if_invalid => 1,
157 default_value => \"current_timestamp",
168 Related object: L<Koha::Schema::Result::Biblio>
172 __PACKAGE__->belongs_to(
174 "Koha::Schema::Result::Biblio",
175 { biblionumber => "biblionumber" },
179 on_delete => "CASCADE",
180 on_update => "CASCADE",
184 =head2 borrowernumber
188 Related object: L<Koha::Schema::Result::Borrower>
192 __PACKAGE__->belongs_to(
194 "Koha::Schema::Result::Borrower",
195 { borrowernumber => "borrowernumber" },
196 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
203 Related object: L<Koha::Schema::Result::Item>
207 __PACKAGE__->belongs_to(
209 "Koha::Schema::Result::Item",
210 { itemnumber => "itemnumber" },
214 on_delete => "CASCADE",
215 on_update => "CASCADE",
220 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-04 22:42:42
221 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RdIrLi+vbzj3ab/UP7e9pw
224 # You can replace this text with custom content, and it will be preserved on regeneration