|
Lines 1-21
Link Here
|
| 1 |
use utf8; |
|
|
| 2 |
package Koha::Schema::Result::MessageQueue; |
1 |
package Koha::Schema::Result::MessageQueue; |
| 3 |
|
2 |
|
| 4 |
# Created by DBIx::Class::Schema::Loader |
3 |
# Created by DBIx::Class::Schema::Loader |
| 5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
4 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
| 6 |
|
5 |
|
| 7 |
=head1 NAME |
|
|
| 8 |
|
| 9 |
Koha::Schema::Result::MessageQueue |
| 10 |
|
| 11 |
=cut |
| 12 |
|
| 13 |
use strict; |
6 |
use strict; |
| 14 |
use warnings; |
7 |
use warnings; |
| 15 |
|
8 |
|
| 16 |
use base 'DBIx::Class::Core'; |
9 |
use base 'DBIx::Class::Core'; |
| 17 |
|
10 |
|
| 18 |
=head1 TABLE: C<message_queue> |
11 |
|
|
|
12 |
=head1 NAME |
| 13 |
|
| 14 |
Koha::Schema::Result::MessageQueue |
| 19 |
|
15 |
|
| 20 |
=cut |
16 |
=cut |
| 21 |
|
17 |
|
|
Lines 130-135
__PACKAGE__->add_columns(
Link Here
|
| 130 |
"content_type", |
126 |
"content_type", |
| 131 |
{ data_type => "text", is_nullable => 1 }, |
127 |
{ data_type => "text", is_nullable => 1 }, |
| 132 |
); |
128 |
); |
|
|
129 |
__PACKAGE__->set_primary_key("message_id"); |
| 133 |
|
130 |
|
| 134 |
=head1 RELATIONS |
131 |
=head1 RELATIONS |
| 135 |
|
132 |
|
|
Lines 165-176
__PACKAGE__->belongs_to(
Link Here
|
| 165 |
"message_transport_type", |
162 |
"message_transport_type", |
| 166 |
"Koha::Schema::Result::MessageTransportType", |
163 |
"Koha::Schema::Result::MessageTransportType", |
| 167 |
{ message_transport_type => "message_transport_type" }, |
164 |
{ message_transport_type => "message_transport_type" }, |
| 168 |
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" }, |
165 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
| 169 |
); |
166 |
); |
| 170 |
|
167 |
|
| 171 |
|
168 |
|
| 172 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55 |
169 |
# Created by DBIx::Class::Schema::Loader v0.07010 @ 2015-02-24 18:59:44 |
| 173 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YWxM2O2W/h34qqIOIpzOtw |
170 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v+Th3wvct4LBCEp+fRlMBw |
| 174 |
|
171 |
|
| 175 |
|
172 |
|
| 176 |
# You can replace this text with custom content, and it will be preserved on regeneration |
173 |
# You can replace this text with custom content, and it will be preserved on regeneration |