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 preferred_name
57
58
  data_type: 'longtext'
59
  is_nullable: 1
60
61
patron/borrower's preferred name
62
56
=head2 middle_name
63
=head2 middle_name
57
64
58
  data_type: 'longtext'
65
  data_type: 'longtext'
Lines 666-671 __PACKAGE__->add_columns( Link Here
666
  { data_type => "longtext", is_nullable => 1 },
673
  { data_type => "longtext", is_nullable => 1 },
667
  "firstname",
674
  "firstname",
668
  { data_type => "mediumtext", is_nullable => 1 },
675
  { data_type => "mediumtext", is_nullable => 1 },
676
  "preferred_name",
677
  { data_type => "longtext", is_nullable => 1 },
669
  "middle_name",
678
  "middle_name",
670
  { data_type => "longtext", is_nullable => 1 },
679
  { data_type => "longtext", is_nullable => 1 },
671
  "title",
680
  "title",
Lines 2188-2195 Composing rels: L</user_permissions> -> permission Link Here
2188
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2197
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
2189
2198
2190
2199
2191
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-02 11:36:36
2200
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-31 16:08:18
2192
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jUOMoSonNmA3KwtZKVxqOA
2201
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ApHapm26zCAu7HiNWc6iiw
2193
2202
2194
__PACKAGE__->has_many(
2203
__PACKAGE__->has_many(
2195
  "restrictions",
2204
  "restrictions",
(-)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 preferred_name
68
69
  data_type: 'longtext'
70
  is_nullable: 1
71
72
patron/borrower's preferred name
73
67
=head2 middle_name
74
=head2 middle_name
68
75
69
  data_type: 'longtext'
76
  data_type: 'longtext'
Lines 471-476 __PACKAGE__->add_columns( Link Here
471
  { data_type => "longtext", is_nullable => 1 },
478
  { data_type => "longtext", is_nullable => 1 },
472
  "firstname",
479
  "firstname",
473
  { data_type => "mediumtext", is_nullable => 1 },
480
  { data_type => "mediumtext", is_nullable => 1 },
481
  "preferred_name",
482
  { data_type => "longtext", is_nullable => 1 },
474
  "middle_name",
483
  "middle_name",
475
  { data_type => "longtext", is_nullable => 1 },
484
  { data_type => "longtext", is_nullable => 1 },
476
  "title",
485
  "title",
Lines 646-653 __PACKAGE__->add_columns( Link Here
646
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
655
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
647
656
648
657
649
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-08 13:26:34
658
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-31 16:08:18
650
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pgmClJsT12pxLZHRYrRY9g
659
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:19BAtUevEb192jlaHkkk2w
651
660
652
sub koha_object_class {
661
sub koha_object_class {
653
    'Koha::Patron::Modification';
662
    'Koha::Patron::Modification';
(-)a/Koha/Schema/Result/Category.pm (-11 / +11 lines)
Lines 187-192 set minimum password length for patrons in this category Link Here
187
187
188
set required password strength for patrons in this category
188
set required password strength for patrons in this category
189
189
190
=head2 force_password_reset_when_set_by_staff
191
192
  data_type: 'tinyint'
193
  is_nullable: 1
194
195
if patrons of this category are required to reset password after being created by a staff member
196
190
=head2 exclude_from_local_holds_priority
197
=head2 exclude_from_local_holds_priority
191
198
192
  data_type: 'tinyint'
199
  data_type: 'tinyint'
Lines 215-227 define maximum amount that the guarantees of a patron in this category can have Link Here
215
222
216
define maximum amount that the guarantors with guarantees of a patron in this category can have outstanding before checkouts are blocked
223
define maximum amount that the guarantors with guarantees of a patron in this category can have outstanding before checkouts are blocked
217
224
218
=head2 force_password_reset_when_set_by_staff
219
220
  data_type: 'tinyint'
221
  is_nullable: 1
222
223
if patrons of this category are required to reset password after being created by a staff member
224
225
=cut
225
=cut
226
226
227
__PACKAGE__->add_columns(
227
__PACKAGE__->add_columns(
Lines 283-288 __PACKAGE__->add_columns( Link Here
283
  { data_type => "smallint", is_nullable => 1 },
283
  { data_type => "smallint", is_nullable => 1 },
284
  "require_strong_password",
284
  "require_strong_password",
285
  { data_type => "tinyint", is_nullable => 1 },
285
  { data_type => "tinyint", is_nullable => 1 },
286
  "force_password_reset_when_set_by_staff",
287
  { data_type => "tinyint", is_nullable => 1 },
286
  "exclude_from_local_holds_priority",
288
  "exclude_from_local_holds_priority",
287
  { data_type => "tinyint", is_nullable => 1 },
289
  { data_type => "tinyint", is_nullable => 1 },
288
  "noissuescharge",
290
  "noissuescharge",
Lines 291-298 __PACKAGE__->add_columns( Link Here
291
  { data_type => "integer", is_nullable => 1 },
293
  { data_type => "integer", is_nullable => 1 },
292
  "noissueschargeguarantorswithguarantees",
294
  "noissueschargeguarantorswithguarantees",
293
  { data_type => "integer", is_nullable => 1 },
295
  { data_type => "integer", is_nullable => 1 },
294
  "force_password_reset_when_set_by_staff",
295
  { data_type => "tinyint", is_nullable => 1 },
296
);
296
);
297
297
298
=head1 PRIMARY KEY
298
=head1 PRIMARY KEY
Lines 400-407 __PACKAGE__->has_many( Link Here
400
);
400
);
401
401
402
402
403
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-09-17 17:34:19
403
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-31 16:08:18
404
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SZoU95HraPfIzszljOSHyQ
404
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ECLi+Ooct/DCa6UBWV7WoA
405
405
406
# You can replace this text with custom code or comments, and it will be preserved on regeneration
406
# You can replace this text with custom code or comments, and it will be preserved on regeneration
407
407
(-)a/Koha/Schema/Result/Deletedborrower.pm (-3 / +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 preferred_name
57
58
  data_type: 'longtext'
59
  is_nullable: 1
60
61
patron/borrower's preferred name
62
56
=head2 middle_name
63
=head2 middle_name
57
64
58
  data_type: 'longtext'
65
  data_type: 'longtext'
Lines 663-668 __PACKAGE__->add_columns( Link Here
663
  { data_type => "longtext", is_nullable => 1 },
670
  { data_type => "longtext", is_nullable => 1 },
664
  "firstname",
671
  "firstname",
665
  { data_type => "mediumtext", is_nullable => 1 },
672
  { data_type => "mediumtext", is_nullable => 1 },
673
  "preferred_name",
674
  { data_type => "longtext", is_nullable => 1 },
666
  "middle_name",
675
  "middle_name",
667
  { data_type => "longtext", is_nullable => 1 },
676
  { data_type => "longtext", is_nullable => 1 },
668
  "title",
677
  "title",
Lines 848-855 __PACKAGE__->add_columns( Link Here
848
);
857
);
849
858
850
859
851
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 18:21:38
860
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-31 16:08:18
852
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdNGUFdglTb3Heu+VjLWFw
861
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:v4Pf3bTCh/dMGkhcVrBBog
853
862
854
__PACKAGE__->add_columns(
863
__PACKAGE__->add_columns(
855
    '+anonymized'              => { is_boolean => 1 },
864
    '+anonymized'              => { is_boolean => 1 },
856
- 

Return to bug 28633