|
Lines 23-28
__PACKAGE__->table("letter");
Link Here
|
| 23 |
|
23 |
|
| 24 |
=head1 ACCESSORS |
24 |
=head1 ACCESSORS |
| 25 |
|
25 |
|
|
|
26 |
=head2 id |
| 27 |
|
| 28 |
data_type: 'integer' |
| 29 |
is_auto_increment: 1 |
| 30 |
is_nullable: 0 |
| 31 |
|
| 32 |
primary key identifier |
| 33 |
|
| 26 |
=head2 module |
34 |
=head2 module |
| 27 |
|
35 |
|
| 28 |
data_type: 'varchar' |
36 |
data_type: 'varchar' |
|
Lines 114-119
last modification
Link Here
|
| 114 |
=cut |
122 |
=cut |
| 115 |
|
123 |
|
| 116 |
__PACKAGE__->add_columns( |
124 |
__PACKAGE__->add_columns( |
|
|
125 |
"id", |
| 126 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
| 117 |
"module", |
127 |
"module", |
| 118 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 20 }, |
128 |
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 20 }, |
| 119 |
"code", |
129 |
"code", |
|
Lines 156-161
__PACKAGE__->add_columns(
Link Here
|
| 156 |
|
166 |
|
| 157 |
=over 4 |
167 |
=over 4 |
| 158 |
|
168 |
|
|
|
169 |
=item * L</id> |
| 170 |
|
| 171 |
=back |
| 172 |
|
| 173 |
=cut |
| 174 |
|
| 175 |
__PACKAGE__->set_primary_key("id"); |
| 176 |
|
| 177 |
=head1 UNIQUE CONSTRAINTS |
| 178 |
|
| 179 |
=head2 C<letter_uniq_1> |
| 180 |
|
| 181 |
=over 4 |
| 182 |
|
| 159 |
=item * L</module> |
183 |
=item * L</module> |
| 160 |
|
184 |
|
| 161 |
=item * L</code> |
185 |
=item * L</code> |
|
Lines 170-176
__PACKAGE__->add_columns(
Link Here
|
| 170 |
|
194 |
|
| 171 |
=cut |
195 |
=cut |
| 172 |
|
196 |
|
| 173 |
__PACKAGE__->set_primary_key("module", "code", "branchcode", "message_transport_type", "lang"); |
197 |
__PACKAGE__->add_unique_constraint( |
|
|
198 |
"letter_uniq_1", |
| 199 |
["module", "code", "branchcode", "message_transport_type", "lang"], |
| 200 |
); |
| 174 |
|
201 |
|
| 175 |
=head1 RELATIONS |
202 |
=head1 RELATIONS |
| 176 |
|
203 |
|
|
Lines 190-197
__PACKAGE__->belongs_to(
Link Here
|
| 190 |
); |
217 |
); |
| 191 |
|
218 |
|
| 192 |
|
219 |
|
| 193 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 |
220 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-02-11 12:33:50 |
| 194 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KsiHfYDT9WzuiTET1Y/BhA |
221 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qqdTVEicMu5rHppY5qsEuA |
| 195 |
|
222 |
|
| 196 |
sub koha_object_class { |
223 |
sub koha_object_class { |
| 197 |
'Koha::Notice::Template'; |
224 |
'Koha::Notice::Template'; |
| 198 |
- |
|
|