|
Lines 1-12
Link Here
|
| 1 |
use utf8; |
1 |
use utf8; |
| 2 |
package Koha::Schema::Result::ImportBatchesProfile; |
2 |
package Koha::Schema::Result::ImportBatchProfile; |
| 3 |
|
3 |
|
| 4 |
# Created by DBIx::Class::Schema::Loader |
4 |
# Created by DBIx::Class::Schema::Loader |
| 5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
| 6 |
|
6 |
|
| 7 |
=head1 NAME |
7 |
=head1 NAME |
| 8 |
|
8 |
|
| 9 |
Koha::Schema::Result::ImportBatchesProfile |
9 |
Koha::Schema::Result::ImportBatchProfile |
| 10 |
|
10 |
|
| 11 |
=cut |
11 |
=cut |
| 12 |
|
12 |
|
|
Lines 15-25
use warnings;
Link Here
|
| 15 |
|
15 |
|
| 16 |
use base 'DBIx::Class::Core'; |
16 |
use base 'DBIx::Class::Core'; |
| 17 |
|
17 |
|
| 18 |
=head1 TABLE: C<import_batches_profile> |
18 |
=head1 TABLE: C<import_batch_profiles> |
| 19 |
|
19 |
|
| 20 |
=cut |
20 |
=cut |
| 21 |
|
21 |
|
| 22 |
__PACKAGE__->table("import_batches_profile"); |
22 |
__PACKAGE__->table("import_batch_profiles"); |
| 23 |
|
23 |
|
| 24 |
=head1 ACCESSORS |
24 |
=head1 ACCESSORS |
| 25 |
|
25 |
|
|
Lines 132-137
__PACKAGE__->add_columns(
Link Here
|
| 132 |
|
132 |
|
| 133 |
__PACKAGE__->set_primary_key("id"); |
133 |
__PACKAGE__->set_primary_key("id"); |
| 134 |
|
134 |
|
|
|
135 |
=head1 UNIQUE CONSTRAINTS |
| 136 |
|
| 137 |
=head2 C<u_import_batch_profiles__name> |
| 138 |
|
| 139 |
=over 4 |
| 140 |
|
| 141 |
=item * L</name> |
| 142 |
|
| 143 |
=back |
| 144 |
|
| 145 |
=cut |
| 146 |
|
| 147 |
__PACKAGE__->add_unique_constraint("u_import_batch_profiles__name", ["name"]); |
| 148 |
|
| 135 |
=head1 RELATIONS |
149 |
=head1 RELATIONS |
| 136 |
|
150 |
|
| 137 |
=head2 import_batches |
151 |
=head2 import_batches |
|
Lines 150-157
__PACKAGE__->has_many(
Link Here
|
| 150 |
); |
164 |
); |
| 151 |
|
165 |
|
| 152 |
|
166 |
|
| 153 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-03 15:47:08 |
167 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-06 13:52:29 |
| 154 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BWFz5yLEEP6ANuAWKAMCeg |
168 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kThbQZTT2c0fuWAGgvoDLQ |
|
|
169 |
|
| 170 |
|
| 171 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
| 155 |
|
172 |
|
| 156 |
__PACKAGE__->add_columns( |
173 |
__PACKAGE__->add_columns( |
| 157 |
'+parse_items' => { is_boolean => 1 }, |
174 |
'+parse_items' => { is_boolean => 1 }, |