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

(-)a/Koha/Schema/Result/Borrower.pm (-2 / +17 lines)
Lines 1482-1487 __PACKAGE__->has_many( Link Here
1482
  { cascade_copy => 0, cascade_delete => 0 },
1482
  { cascade_copy => 0, cascade_delete => 0 },
1483
);
1483
);
1484
1484
1485
=head2 suggestions_lastmodificationbies
1486
1487
Type: has_many
1488
1489
Related object: L<Koha::Schema::Result::Suggestion>
1490
1491
=cut
1492
1493
__PACKAGE__->has_many(
1494
  "suggestions_lastmodificationbies",
1495
  "Koha::Schema::Result::Suggestion",
1496
  { "foreign.lastmodificationby" => "self.borrowernumber" },
1497
  { cascade_copy => 0, cascade_delete => 0 },
1498
);
1499
1485
=head2 suggestions_managedbies
1500
=head2 suggestions_managedbies
1486
1501
1487
Type: has_many
1502
Type: has_many
Lines 1658-1665 Composing rels: L</aqorder_users> -> ordernumber Link Here
1658
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1673
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1659
1674
1660
1675
1661
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-24 11:25:33
1676
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-24 12:04:30
1662
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6G2Szd+G4io5YH4nsxr2eg
1677
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lc2beHgnH2egLaVzXEcLPg
1663
1678
1664
__PACKAGE__->add_columns(
1679
__PACKAGE__->add_columns(
1665
    '+anonymized'    => { is_boolean => 1 },
1680
    '+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 @ 2020-03-24 12:04:30
444
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UsG/gxLa0HMMbcpbscV29Q
480
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2j+YaHKq7Jq1ku10CGlynA
445
481
446
__PACKAGE__->belongs_to(
482
__PACKAGE__->belongs_to(
447
  "suggester",
483
  "suggester",
448
- 

Return to bug 23590