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

(-)a/Koha/Schema/Result/Borrower.pm (-2 / +11 lines)
Lines 53-58 patron/borrower's last name (surname) Link Here
53
53
54
patron/borrower's first name
54
patron/borrower's first name
55
55
56
=head2 preferredname
57
58
  data_type: 'longtext'
59
  is_nullable: 1
60
61
patron/borrower's preferred name
62
56
=head2 title
63
=head2 title
57
64
58
  data_type: 'longtext'
65
  data_type: 'longtext'
Lines 620-625 __PACKAGE__->add_columns( Link Here
620
  { data_type => "longtext", is_nullable => 1 },
627
  { data_type => "longtext", is_nullable => 1 },
621
  "firstname",
628
  "firstname",
622
  { data_type => "mediumtext", is_nullable => 1 },
629
  { data_type => "mediumtext", is_nullable => 1 },
630
  "preferredname",
631
  { data_type => "longtext", is_nullable => 1 },
623
  "title",
632
  "title",
624
  { data_type => "longtext", is_nullable => 1 },
633
  { data_type => "longtext", is_nullable => 1 },
625
  "othernames",
634
  "othernames",
Lines 1875-1882 Composing rels: L</aqorder_users> -> ordernumber Link Here
1875
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1884
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
1876
1885
1877
1886
1878
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00
1887
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-20 14:51:37
1879
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IKPb4912o8oCHtmFAi6FPQ
1888
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1KA7z8wyo6flghnuHFSWoA
1880
1889
1881
__PACKAGE__->add_columns(
1890
__PACKAGE__->add_columns(
1882
    '+anonymized'    => { is_boolean => 1 },
1891
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/BorrowerModification.pm (-2 / +11 lines)
Lines 64-69 __PACKAGE__->table("borrower_modifications"); Link Here
64
  data_type: 'mediumtext'
64
  data_type: 'mediumtext'
65
  is_nullable: 1
65
  is_nullable: 1
66
66
67
=head2 preferredname
68
69
  data_type: 'longtext'
70
  is_nullable: 1
71
72
patron/borrower's preferred name
73
67
=head2 title
74
=head2 title
68
75
69
  data_type: 'longtext'
76
  data_type: 'longtext'
Lines 453-458 __PACKAGE__->add_columns( Link Here
453
  { data_type => "longtext", is_nullable => 1 },
460
  { data_type => "longtext", is_nullable => 1 },
454
  "firstname",
461
  "firstname",
455
  { data_type => "mediumtext", is_nullable => 1 },
462
  { data_type => "mediumtext", is_nullable => 1 },
463
  "preferredname",
464
  { data_type => "longtext", is_nullable => 1 },
456
  "title",
465
  "title",
457
  { data_type => "longtext", is_nullable => 1 },
466
  { data_type => "longtext", is_nullable => 1 },
458
  "othernames",
467
  "othernames",
Lines 622-629 __PACKAGE__->add_columns( Link Here
622
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
631
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
623
632
624
633
625
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00
634
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-21 11:10:20
626
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6giYT5URks8+6VnAs/rtkg
635
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WIFF97soKTUKbfel4FCzwA
627
636
628
sub koha_object_class {
637
sub koha_object_class {
629
    'Koha::Patron::Modification';
638
    'Koha::Patron::Modification';
(-)a/Koha/Schema/Result/Deletedborrower.pm (-2 / +11 lines)
Lines 53-58 patron/borrower's last name (surname) Link Here
53
53
54
patron/borrower's first name
54
patron/borrower's first name
55
55
56
=head2 preferredname
57
58
  data_type: 'longtext'
59
  is_nullable: 1
60
61
patron/borrower's preferred name
62
56
=head2 title
63
=head2 title
57
64
58
  data_type: 'longtext'
65
  data_type: 'longtext'
Lines 617-622 __PACKAGE__->add_columns( Link Here
617
  { data_type => "longtext", is_nullable => 1 },
624
  { data_type => "longtext", is_nullable => 1 },
618
  "firstname",
625
  "firstname",
619
  { data_type => "mediumtext", is_nullable => 1 },
626
  { data_type => "mediumtext", is_nullable => 1 },
627
  "preferredname",
628
  { data_type => "longtext", is_nullable => 1 },
620
  "title",
629
  "title",
621
  { data_type => "longtext", is_nullable => 1 },
630
  { data_type => "longtext", is_nullable => 1 },
622
  "othernames",
631
  "othernames",
Lines 785-792 __PACKAGE__->add_columns( Link Here
785
);
794
);
786
795
787
796
788
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00
797
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-20 14:51:37
789
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9q8LmKrfO6bAAFaJ4Z3Jrg
798
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N4N0enOwRMZd+I1ps3lBlw
790
799
791
__PACKAGE__->add_columns(
800
__PACKAGE__->add_columns(
792
    '+anonymized'    => { is_boolean => 1 },
801
    '+anonymized'    => { is_boolean => 1 },
(-)a/Koha/Schema/Result/ItemsLastBorrower.pm (-6 / +10 lines)
Lines 39-45 __PACKAGE__->table("items_last_borrower"); Link Here
39
39
40
  data_type: 'integer'
40
  data_type: 'integer'
41
  is_foreign_key: 1
41
  is_foreign_key: 1
42
  is_nullable: 0
42
  is_nullable: 1
43
43
44
=head2 created_on
44
=head2 created_on
45
45
Lines 56-62 __PACKAGE__->add_columns( Link Here
56
  "itemnumber",
56
  "itemnumber",
57
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
57
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
58
  "borrowernumber",
58
  "borrowernumber",
59
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
59
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
60
  "created_on",
60
  "created_on",
61
  {
61
  {
62
    data_type => "timestamp",
62
    data_type => "timestamp",
Lines 106-112 __PACKAGE__->belongs_to( Link Here
106
  "borrowernumber",
106
  "borrowernumber",
107
  "Koha::Schema::Result::Borrower",
107
  "Koha::Schema::Result::Borrower",
108
  { borrowernumber => "borrowernumber" },
108
  { borrowernumber => "borrowernumber" },
109
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
109
  {
110
    is_deferrable => 1,
111
    join_type     => "LEFT",
112
    on_delete     => "CASCADE",
113
    on_update     => "CASCADE",
114
  },
110
);
115
);
111
116
112
=head2 itemnumber
117
=head2 itemnumber
Lines 125-132 __PACKAGE__->belongs_to( Link Here
125
);
130
);
126
131
127
132
128
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2015-10-02 12:33:33
133
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-20 14:51:37
129
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ByHKNZCEz4a1AqTnOJgUWA
134
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uxC5Dg4346LA1KeAWiUT9A
130
135
131
136
132
# You can replace this text with custom code or comments, and it will be preserved on regeneration
137
# You can replace this text with custom code or comments, and it will be preserved on regeneration
133
- 

Return to bug 28633