View | Details | Raw Unified | Return to bug 32437
Collapse All | Expand All

(-)a/Koha/Schema/Result/ImportAuth.pm (-2 / +14 lines)
Lines 67-72 __PACKAGE__->add_columns( Link Here
67
  { data_type => "varchar", is_nullable => 1, size => 25 },
67
  { data_type => "varchar", is_nullable => 1, size => 25 },
68
);
68
);
69
69
70
=head1 PRIMARY KEY
71
72
=over 4
73
74
=item * L</import_record_id>
75
76
=back
77
78
=cut
79
80
__PACKAGE__->set_primary_key("import_record_id");
81
70
=head1 RELATIONS
82
=head1 RELATIONS
71
83
72
=head2 import_record
84
=head2 import_record
Lines 85-92 __PACKAGE__->belongs_to( Link Here
85
);
97
);
86
98
87
99
88
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
100
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-16 15:15:01
89
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bm1ctlmYDh4qWUU95SLqBw
101
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kRerhybJQOzKfdFjkozK4Q
90
102
91
103
92
# You can replace this text with custom content, and it will be preserved on regeneration
104
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/ImportRecord.pm (-7 / +6 lines)
Lines 186-201 __PACKAGE__->set_primary_key("import_record_id"); Link Here
186
186
187
=head1 RELATIONS
187
=head1 RELATIONS
188
188
189
=head2 import_auths
189
=head2 import_auth
190
190
191
Type: has_many
191
Type: might_have
192
192
193
Related object: L<Koha::Schema::Result::ImportAuth>
193
Related object: L<Koha::Schema::Result::ImportAuth>
194
194
195
=cut
195
=cut
196
196
197
__PACKAGE__->has_many(
197
__PACKAGE__->might_have(
198
  "import_auths",
198
  "import_auth",
199
  "Koha::Schema::Result::ImportAuth",
199
  "Koha::Schema::Result::ImportAuth",
200
  { "foreign.import_record_id" => "self.import_record_id" },
200
  { "foreign.import_record_id" => "self.import_record_id" },
201
  { cascade_copy => 0, cascade_delete => 0 },
201
  { cascade_copy => 0, cascade_delete => 0 },
Lines 262-269 __PACKAGE__->has_many( Link Here
262
);
262
);
263
263
264
264
265
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-17 11:17:50
265
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-16 15:15:01
266
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bGhtHdQ7/pXWWezcgz/4EA
266
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CAOcvre3AiNqGbeblkzQpw
267
267
268
sub koha_object_class {
268
sub koha_object_class {
269
    'Koha::Import::Record';
269
    'Koha::Import::Record';
270
- 

Return to bug 32437