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

(-)a/Koha/Schema/Result/Borrower.pm (-2 / +17 lines)
Lines 1459-1464 __PACKAGE__->has_many( Link Here
1459
  { cascade_copy => 0, cascade_delete => 0 },
1459
  { cascade_copy => 0, cascade_delete => 0 },
1460
);
1460
);
1461
1461
1462
=head2 suggestions_lastmodificationbies
1463
1464
Type: has_many
1465
1466
Related object: L<Koha::Schema::Result::Suggestion>
1467
1468
=cut
1469
1470
__PACKAGE__->has_many(
1471
  "suggestions_lastmodificationbies",
1472
  "Koha::Schema::Result::Suggestion",
1473
  { "foreign.lastmodificationby" => "self.borrowernumber" },
1474
  { cascade_copy => 0, cascade_delete => 0 },
1475
);
1476
1462
=head2 suggestions_managedbies
1477
=head2 suggestions_managedbies
1463
1478
1464
Type: has_many
1479
Type: has_many
Lines 1635-1642 Composing rels: L</aqorder_users> -> ordernumber Link Here
1635
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1650
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1636
1651
1637
1652
1638
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-10 14:31:00
1653
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-11-14 15:44:37
1639
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GjJLIOViIFRm185Yjl9vYA
1654
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:k/fQoZD8MLNdsPJXyhlXdw
1640
1655
1641
__PACKAGE__->add_columns(
1656
__PACKAGE__->add_columns(
1642
    '+anonymized'    => { is_boolean => 1 },
1657
    '+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
482
447
# You can replace this text with custom content, and it will be preserved on regeneration
483
# You can replace this text with custom content, and it will be preserved on regeneration
448
- 

Return to bug 23590