Lines 147-152
report types provided by the harvester
Link Here
|
147 |
|
147 |
|
148 |
platform if provider requires it |
148 |
platform if provider requires it |
149 |
|
149 |
|
|
|
150 |
=head2 vendor_id |
151 |
|
152 |
data_type: 'integer' |
153 |
is_foreign_key: 1 |
154 |
is_nullable: 1 |
155 |
|
156 |
foreign key to aqbooksellers |
157 |
|
150 |
=cut |
158 |
=cut |
151 |
|
159 |
|
152 |
__PACKAGE__->add_columns( |
160 |
__PACKAGE__->add_columns( |
Lines 182-187
__PACKAGE__->add_columns(
Link Here
|
182 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
190 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
183 |
"service_platform", |
191 |
"service_platform", |
184 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
192 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
|
|
193 |
"vendor_id", |
194 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
185 |
); |
195 |
); |
186 |
|
196 |
|
187 |
=head1 PRIMARY KEY |
197 |
=head1 PRIMARY KEY |
Lines 334-339
__PACKAGE__->has_many(
Link Here
|
334 |
{ cascade_copy => 0, cascade_delete => 0 }, |
344 |
{ cascade_copy => 0, cascade_delete => 0 }, |
335 |
); |
345 |
); |
336 |
|
346 |
|
|
|
347 |
=head2 vendor |
348 |
|
349 |
Type: belongs_to |
350 |
|
351 |
Related object: L<Koha::Schema::Result::Aqbookseller> |
352 |
|
353 |
=cut |
354 |
|
355 |
__PACKAGE__->belongs_to( |
356 |
"vendor", |
357 |
"Koha::Schema::Result::Aqbookseller", |
358 |
{ id => "vendor_id" }, |
359 |
{ |
360 |
is_deferrable => 1, |
361 |
join_type => "LEFT", |
362 |
on_delete => "SET NULL", |
363 |
on_update => "CASCADE", |
364 |
}, |
365 |
); |
366 |
|
367 |
=head2 vendor |
368 |
|
369 |
Type: belongs_to |
370 |
|
371 |
Related object: L<Koha::Schema::Result::Aqbookseller> |
372 |
|
373 |
=cut |
374 |
|
375 |
__PACKAGE__->belongs_to( |
376 |
"vendor", |
377 |
"Koha::Schema::Result::Aqbookseller", |
378 |
{ id => "vendor_id" }, |
379 |
{ |
380 |
is_deferrable => 1, |
381 |
join_type => "LEFT", |
382 |
on_delete => "SET NULL", |
383 |
on_update => "CASCADE", |
384 |
}, |
385 |
); |
386 |
|
337 |
|
387 |
|
338 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-04-24 17:38:40 |
388 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-04-24 17:38:40 |
339 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ToAsyGMN6zZW/ffmCqE8XA |
389 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ToAsyGMN6zZW/ffmCqE8XA |
340 |
- |
|
|