|
Lines 29-34
__PACKAGE__->table("message_queue");
Link Here
|
| 29 |
is_auto_increment: 1 |
29 |
is_auto_increment: 1 |
| 30 |
is_nullable: 0 |
30 |
is_nullable: 0 |
| 31 |
|
31 |
|
|
|
32 |
=head2 letter_id |
| 33 |
|
| 34 |
data_type: 'integer' |
| 35 |
is_foreign_key: 1 |
| 36 |
is_nullable: 1 |
| 37 |
|
| 32 |
=head2 borrowernumber |
38 |
=head2 borrowernumber |
| 33 |
|
39 |
|
| 34 |
data_type: 'integer' |
40 |
data_type: 'integer' |
|
Lines 113-118
__PACKAGE__->table("message_queue");
Link Here
|
| 113 |
__PACKAGE__->add_columns( |
119 |
__PACKAGE__->add_columns( |
| 114 |
"message_id", |
120 |
"message_id", |
| 115 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
121 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
|
|
122 |
"letter_id", |
| 123 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 116 |
"borrowernumber", |
124 |
"borrowernumber", |
| 117 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
125 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 118 |
"subject", |
126 |
"subject", |
|
Lines 191-196
__PACKAGE__->belongs_to(
Link Here
|
| 191 |
}, |
199 |
}, |
| 192 |
); |
200 |
); |
| 193 |
|
201 |
|
|
|
202 |
=head2 letter |
| 203 |
|
| 204 |
Type: belongs_to |
| 205 |
|
| 206 |
Related object: L<Koha::Schema::Result::Letter> |
| 207 |
|
| 208 |
=cut |
| 209 |
|
| 210 |
__PACKAGE__->belongs_to( |
| 211 |
"letter", |
| 212 |
"Koha::Schema::Result::Letter", |
| 213 |
{ id => "letter_id" }, |
| 214 |
{ |
| 215 |
is_deferrable => 1, |
| 216 |
join_type => "LEFT", |
| 217 |
on_delete => "SET NULL", |
| 218 |
on_update => "CASCADE", |
| 219 |
}, |
| 220 |
); |
| 221 |
|
| 194 |
=head2 message_transport_type |
222 |
=head2 message_transport_type |
| 195 |
|
223 |
|
| 196 |
Type: belongs_to |
224 |
Type: belongs_to |
|
Lines 207-214
__PACKAGE__->belongs_to(
Link Here
|
| 207 |
); |
235 |
); |
| 208 |
|
236 |
|
| 209 |
|
237 |
|
| 210 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-08-05 08:57:36 |
238 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-26 16:03:55 |
| 211 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NwbN8wPMAlucrw6iQ2XQ5g |
239 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cnZ/YPx4BDhg2RLg0h65PA |
| 212 |
|
240 |
|
| 213 |
sub koha_object_class { |
241 |
sub koha_object_class { |
| 214 |
'Koha::Notice::Message'; |
242 |
'Koha::Notice::Message'; |
| 215 |
- |
|
|