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

(-)a/Koha/Schema/Result/Borrower.pm (-2 / +17 lines)
Lines 1474-1479 __PACKAGE__->has_many( Link Here
1474
  { cascade_copy => 0, cascade_delete => 0 },
1474
  { cascade_copy => 0, cascade_delete => 0 },
1475
);
1475
);
1476
1476
1477
=head2 suggestions_lastmodificationbies
1478
1479
Type: has_many
1480
1481
Related object: L<Koha::Schema::Result::Suggestion>
1482
1483
=cut
1484
1485
__PACKAGE__->has_many(
1486
  "suggestions_lastmodificationbies",
1487
  "Koha::Schema::Result::Suggestion",
1488
  { "foreign.lastmodificationby" => "self.borrowernumber" },
1489
  { cascade_copy => 0, cascade_delete => 0 },
1490
);
1491
1477
=head2 suggestions_managedbies
1492
=head2 suggestions_managedbies
1478
1493
1479
Type: has_many
1494
Type: has_many
Lines 1650-1657 Composing rels: L</aqorder_users> -> ordernumber Link Here
1650
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1665
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1651
1666
1652
1667
1653
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-03 16:19:12
1668
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-16 16:49:12
1654
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+f1QrESEOMGM1coANPgWtQ
1669
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tskfTaEBmKxkFwS4ug/5ew
1655
1670
1656
__PACKAGE__->add_columns(
1671
__PACKAGE__->add_columns(
1657
    '+anonymized'    => { is_boolean => 1 },
1672
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Suggestion.pm (-3 / +38 lines)
Lines 77-82 __PACKAGE__->table("suggestions"); Link Here
77
  datetime_undef_if_invalid: 1
77
  datetime_undef_if_invalid: 1
78
  is_nullable: 1
78
  is_nullable: 1
79
79
80
=head2 lastmodificationby
81
82
  data_type: 'integer'
83
  is_foreign_key: 1
84
  is_nullable: 1
85
86
=head2 lastmodificationdate
87
88
  data_type: 'date'
89
  datetime_undef_if_invalid: 1
90
  is_nullable: 1
91
80
=head2 STATUS
92
=head2 STATUS
81
93
82
  accessor: 'status'
94
  accessor: 'status'
Lines 228-233 __PACKAGE__->add_columns( Link Here
228
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
240
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
229
  "rejecteddate",
241
  "rejecteddate",
230
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
242
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
243
  "lastmodificationby",
244
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
245
  "lastmodificationdate",
246
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
231
  "STATUS",
247
  "STATUS",
232
  {
248
  {
233
    accessor => "status",
249
    accessor => "status",
Lines 379-384 __PACKAGE__->belongs_to( Link Here
379
  },
395
  },
380
);
396
);
381
397
398
=head2 lastmodificationby
399
400
Type: belongs_to
401
402
Related object: L<Koha::Schema::Result::Borrower>
403
404
=cut
405
406
__PACKAGE__->belongs_to(
407
  "lastmodificationby",
408
  "Koha::Schema::Result::Borrower",
409
  { borrowernumber => "lastmodificationby" },
410
  {
411
    is_deferrable => 1,
412
    join_type     => "LEFT",
413
    on_delete     => "SET NULL",
414
    on_update     => "CASCADE",
415
  },
416
);
417
382
=head2 managedby
418
=head2 managedby
383
419
384
Type: belongs_to
420
Type: belongs_to
Lines 440-447 __PACKAGE__->belongs_to( Link Here
440
);
476
);
441
477
442
478
443
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-11 12:56:41
479
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-11-14 15:44:38
444
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UsG/gxLa0HMMbcpbscV29Q
480
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qZuiiZgd+ry97OSngYckSA
445
481
446
__PACKAGE__->belongs_to(
482
__PACKAGE__->belongs_to(
447
  "suggester",
483
  "suggester",
448
- 

Return to bug 23590