|
Lines 150-155
report types provided by the harvester
Link Here
|
| 150 |
|
150 |
|
| 151 |
platform if provider requires it |
151 |
platform if provider requires it |
| 152 |
|
152 |
|
|
|
153 |
=head2 vendor_id |
| 154 |
|
| 155 |
data_type: 'integer' |
| 156 |
is_foreign_key: 1 |
| 157 |
is_nullable: 1 |
| 158 |
|
| 159 |
foreign key to aqbooksellers |
| 160 |
|
| 153 |
=cut |
161 |
=cut |
| 154 |
|
162 |
|
| 155 |
__PACKAGE__->add_columns( |
163 |
__PACKAGE__->add_columns( |
|
Lines 185-190
__PACKAGE__->add_columns(
Link Here
|
| 185 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
193 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
| 186 |
"service_platform", |
194 |
"service_platform", |
| 187 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
195 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
|
|
196 |
"vendor_id", |
| 197 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 188 |
); |
198 |
); |
| 189 |
|
199 |
|
| 190 |
=head1 PRIMARY KEY |
200 |
=head1 PRIMARY KEY |
|
Lines 337-345
__PACKAGE__->has_many(
Link Here
|
| 337 |
{ cascade_copy => 0, cascade_delete => 0 }, |
347 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 338 |
); |
348 |
); |
| 339 |
|
349 |
|
|
|
350 |
=head2 vendor |
| 351 |
|
| 352 |
Type: belongs_to |
| 353 |
|
| 354 |
Related object: L<Koha::Schema::Result::Aqbookseller> |
| 355 |
|
| 356 |
=cut |
| 357 |
|
| 358 |
__PACKAGE__->belongs_to( |
| 359 |
"vendor", |
| 360 |
"Koha::Schema::Result::Aqbookseller", |
| 361 |
{ id => "vendor_id" }, |
| 362 |
{ |
| 363 |
is_deferrable => 1, |
| 364 |
join_type => "LEFT", |
| 365 |
on_delete => "SET NULL", |
| 366 |
on_update => "CASCADE", |
| 367 |
}, |
| 368 |
); |
| 369 |
|
| 340 |
|
370 |
|
| 341 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-09-27 15:57:24 |
371 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-24 10:43:00 |
| 342 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YyiiRHSl3tJTzuLsoy9oPw |
372 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A3fbITzckWWhFnS0Yeclpg |
| 343 |
|
373 |
|
| 344 |
# __PACKAGE__->add_columns( |
374 |
# __PACKAGE__->add_columns( |
| 345 |
# '+active' => { is_boolean => 1 } |
375 |
# '+active' => { is_boolean => 1 } |
| 346 |
- |
|
|