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

(-)a/Koha/Schema/Result/Borrower.pm (-4 / +12 lines)
Lines 425-431 __PACKAGE__->table("borrowers"); Link Here
425
425
426
  data_type: 'timestamp'
426
  data_type: 'timestamp'
427
  datetime_undef_if_invalid: 1
427
  datetime_undef_if_invalid: 1
428
  default_value: current_timestamp
428
  default_value: 'current_timestamp()'
429
  is_nullable: 0
429
  is_nullable: 0
430
430
431
=head2 lastseen
431
=head2 lastseen
Lines 458-463 __PACKAGE__->table("borrowers"); Link Here
458
  default_value: 0
458
  default_value: 0
459
  is_nullable: 0
459
  is_nullable: 0
460
460
461
=head2 autorenew_checkouts
462
463
  data_type: 'tinyint'
464
  default_value: 1
465
  is_nullable: 0
466
461
=cut
467
=cut
462
468
463
__PACKAGE__->add_columns(
469
__PACKAGE__->add_columns(
Lines 640-646 __PACKAGE__->add_columns( Link Here
640
  {
646
  {
641
    data_type => "timestamp",
647
    data_type => "timestamp",
642
    datetime_undef_if_invalid => 1,
648
    datetime_undef_if_invalid => 1,
643
    default_value => \"current_timestamp",
649
    default_value => "current_timestamp()",
644
    is_nullable => 0,
650
    is_nullable => 0,
645
  },
651
  },
646
  "lastseen",
652
  "lastseen",
Lines 662-667 __PACKAGE__->add_columns( Link Here
662
  { data_type => "mediumtext", is_nullable => 1 },
668
  { data_type => "mediumtext", is_nullable => 1 },
663
  "anonymized",
669
  "anonymized",
664
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
670
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
671
  "autorenew_checkouts",
672
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
665
);
673
);
666
674
667
=head1 PRIMARY KEY
675
=head1 PRIMARY KEY
Lines 1635-1642 Composing rels: L</aqorder_users> -> ordernumber Link Here
1635
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1643
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1636
1644
1637
1645
1638
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-10 14:31:00
1646
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-28 19:07:50
1639
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GjJLIOViIFRm185Yjl9vYA
1647
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9zgSKDZQmNp+KUUMfk4QQQ
1640
1648
1641
__PACKAGE__->add_columns(
1649
__PACKAGE__->add_columns(
1642
    '+anonymized'    => { is_boolean => 1 },
1650
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Deletedborrower.pm (-5 / +12 lines)
Lines 422-428 __PACKAGE__->table("deletedborrowers"); Link Here
422
422
423
  data_type: 'timestamp'
423
  data_type: 'timestamp'
424
  datetime_undef_if_invalid: 1
424
  datetime_undef_if_invalid: 1
425
  default_value: current_timestamp
425
  default_value: 'current_timestamp()'
426
  is_nullable: 0
426
  is_nullable: 0
427
427
428
=head2 lastseen
428
=head2 lastseen
Lines 455-460 __PACKAGE__->table("deletedborrowers"); Link Here
455
  default_value: 0
455
  default_value: 0
456
  is_nullable: 0
456
  is_nullable: 0
457
457
458
=head2 autorenew_checkouts
459
460
  data_type: 'tinyint'
461
  default_value: 1
462
  is_nullable: 0
463
458
=cut
464
=cut
459
465
460
__PACKAGE__->add_columns(
466
__PACKAGE__->add_columns(
Lines 625-631 __PACKAGE__->add_columns( Link Here
625
  {
631
  {
626
    data_type => "timestamp",
632
    data_type => "timestamp",
627
    datetime_undef_if_invalid => 1,
633
    datetime_undef_if_invalid => 1,
628
    default_value => \"current_timestamp",
634
    default_value => "current_timestamp()",
629
    is_nullable => 0,
635
    is_nullable => 0,
630
  },
636
  },
631
  "lastseen",
637
  "lastseen",
Lines 647-657 __PACKAGE__->add_columns( Link Here
647
  { data_type => "mediumtext", is_nullable => 1 },
653
  { data_type => "mediumtext", is_nullable => 1 },
648
  "anonymized",
654
  "anonymized",
649
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
655
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
656
  "autorenew_checkouts",
657
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
650
);
658
);
651
659
652
660
653
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-22 04:33:29
661
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-28 19:07:50
654
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zK1jC6Wawwj8B2ch9KFByw
662
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GajsOHHe926t+9ukiJIXdw
655
663
656
sub koha_objects_class {
664
sub koha_objects_class {
657
    'Koha::Old::Patrons';
665
    'Koha::Old::Patrons';
658
- 

Return to bug 24476