Lines 46-52
__PACKAGE__->table("message_transports");
Link Here
|
46 |
|
46 |
|
47 |
data_type: 'varchar' |
47 |
data_type: 'varchar' |
48 |
default_value: (empty string) |
48 |
default_value: (empty string) |
49 |
is_foreign_key: 1 |
|
|
50 |
is_nullable: 0 |
49 |
is_nullable: 0 |
51 |
size: 20 |
50 |
size: 20 |
52 |
|
51 |
|
Lines 54-60
__PACKAGE__->table("message_transports");
Link Here
|
54 |
|
53 |
|
55 |
data_type: 'varchar' |
54 |
data_type: 'varchar' |
56 |
default_value: (empty string) |
55 |
default_value: (empty string) |
57 |
is_foreign_key: 1 |
|
|
58 |
is_nullable: 0 |
56 |
is_nullable: 0 |
59 |
size: 20 |
57 |
size: 20 |
60 |
|
58 |
|
Lines 62-68
__PACKAGE__->table("message_transports");
Link Here
|
62 |
|
60 |
|
63 |
data_type: 'varchar' |
61 |
data_type: 'varchar' |
64 |
default_value: (empty string) |
62 |
default_value: (empty string) |
65 |
is_foreign_key: 1 |
|
|
66 |
is_nullable: 0 |
63 |
is_nullable: 0 |
67 |
size: 10 |
64 |
size: 10 |
68 |
|
65 |
|
Lines 76-104
__PACKAGE__->add_columns(
Link Here
|
76 |
"is_digest", |
73 |
"is_digest", |
77 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
74 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
78 |
"letter_module", |
75 |
"letter_module", |
79 |
{ |
76 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 20 }, |
80 |
data_type => "varchar", |
|
|
81 |
default_value => "", |
82 |
is_foreign_key => 1, |
83 |
is_nullable => 0, |
84 |
size => 20, |
85 |
}, |
86 |
"letter_code", |
77 |
"letter_code", |
87 |
{ |
78 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 20 }, |
88 |
data_type => "varchar", |
|
|
89 |
default_value => "", |
90 |
is_foreign_key => 1, |
91 |
is_nullable => 0, |
92 |
size => 20, |
93 |
}, |
94 |
"branchcode", |
79 |
"branchcode", |
95 |
{ |
80 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, |
96 |
data_type => "varchar", |
|
|
97 |
default_value => "", |
98 |
is_foreign_key => 1, |
99 |
is_nullable => 0, |
100 |
size => 10, |
101 |
}, |
102 |
); |
81 |
); |
103 |
|
82 |
|
104 |
=head1 PRIMARY KEY |
83 |
=head1 PRIMARY KEY |
Lines 119-143
__PACKAGE__->set_primary_key("message_attribute_id", "message_transport_type", "
Link Here
|
119 |
|
98 |
|
120 |
=head1 RELATIONS |
99 |
=head1 RELATIONS |
121 |
|
100 |
|
122 |
=head2 letter |
|
|
123 |
|
124 |
Type: belongs_to |
125 |
|
126 |
Related object: L<Koha::Schema::Result::Letter> |
127 |
|
128 |
=cut |
129 |
|
130 |
__PACKAGE__->belongs_to( |
131 |
"letter", |
132 |
"Koha::Schema::Result::Letter", |
133 |
{ |
134 |
branchcode => "branchcode", |
135 |
code => "letter_code", |
136 |
module => "letter_module", |
137 |
}, |
138 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
139 |
); |
140 |
|
141 |
=head2 message_attribute |
101 |
=head2 message_attribute |
142 |
|
102 |
|
143 |
Type: belongs_to |
103 |
Type: belongs_to |
Lines 169-176
__PACKAGE__->belongs_to(
Link Here
|
169 |
); |
129 |
); |
170 |
|
130 |
|
171 |
|
131 |
|
172 |
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 |
132 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-23 21:42:48 |
173 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P4Bsq0A7/imUhRBRnD5HrQ |
133 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RYvCEp0euH7L07OBlttqPw |
174 |
|
134 |
|
175 |
|
135 |
|
176 |
# You can replace this text with custom content, and it will be preserved on regeneration |
136 |
# You can replace this text with custom content, and it will be preserved on regeneration |
177 |
- |
|
|