diff --git a/Koha/Schema/Result/AuthorisedValue.pm b/Koha/Schema/Result/AuthorisedValue.pm index 874c166b02..c5dac08826 100644 --- a/Koha/Schema/Result/AuthorisedValue.pm +++ b/Koha/Schema/Result/AuthorisedValue.pm @@ -157,24 +157,9 @@ __PACKAGE__->belongs_to( { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, ); -=head2 illrequests -Type: has_many - -Related object: L - -=cut - -__PACKAGE__->has_many( - "illrequests", - "Koha::Schema::Result::Illrequest", - { "foreign.status_alias" => "self.authorised_value" }, - { cascade_copy => 0, cascade_delete => 0 }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LH9dpEEzlVVsjNVv/jnONg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-05-24 16:32:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g2d0+oCVL5m4P9XdcT4DWg # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm index 6b97eff74b..9b933ea38e 100644 --- a/Koha/Schema/Result/BorrowerModification.pm +++ b/Koha/Schema/Result/BorrowerModification.pm @@ -103,6 +103,8 @@ patron/borrower's middle name data_type: 'tinytext' is_nullable: 1 +the house number for your patron/borrower's primary address + =head2 streettype data_type: 'varchar' @@ -177,6 +179,8 @@ patron/borrower's middle name data_type: 'tinytext' is_nullable: 1 +the house number for your patron/borrower's alternate address + =head2 B_streettype accessor: 'b_streettype' @@ -648,8 +652,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-02-03 09:57:42 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:h0JPmqWPv7elhdENUDSnFw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-05-24 16:32:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:++h8gd2OoZZ8qD9jm957Lw __PACKAGE__->add_columns( '+gonenoaddress' => { is_boolean => 1 }, diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index 9cb9622295..4e2a1fbe2a 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -30,7 +30,7 @@ __PACKAGE__->table("categories"); is_nullable: 0 size: 10 -unique primary key used to idenfity the patron category +unique primary key used to identify the patron category =head2 description @@ -410,8 +410,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-07-10 07:11:31 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ADt+iDjteg9Jb81L2FMIvg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-05-24 16:32:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vzwTrbCz1W9rJ3k5UrHWtw # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Illrequest.pm b/Koha/Schema/Result/Illrequest.pm index e7293afa59..e903457687 100644 --- a/Koha/Schema/Result/Illrequest.pm +++ b/Koha/Schema/Result/Illrequest.pm @@ -83,7 +83,6 @@ Current Koha status of request =head2 status_alias data_type: 'varchar' - is_foreign_key: 1 is_nullable: 1 size: 80 @@ -217,7 +216,7 @@ __PACKAGE__->add_columns( "status", { data_type => "varchar", is_nullable => 1, size => 50 }, "status_alias", - { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 80 }, + { data_type => "varchar", is_nullable => 1, size => 80 }, "placed", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "replied", @@ -370,29 +369,9 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); -=head2 status_alias -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "status_alias", - "Koha::Schema::Result::AuthorisedValue", - { authorised_value => "status_alias" }, - { - is_deferrable => 1, - join_type => "LEFT", - on_delete => "SET NULL", - on_update => "CASCADE", - }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-03-07 16:59:58 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+LJD6O0ZLhsml2/43CSgBg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-05-24 16:32:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HB+SgwXuyzyRq01OslJA8w __PACKAGE__->has_many( "comments", diff --git a/Koha/Schema/Result/SipAccount.pm b/Koha/Schema/Result/SipAccount.pm index 8dac7953ea..d8ac39ae6b 100644 --- a/Koha/Schema/Result/SipAccount.pm +++ b/Koha/Schema/Result/SipAccount.pm @@ -39,9 +39,8 @@ Foreign key to sip_institutions.sip_institution_id =head2 ae_field_template - data_type: 'varchar' + data_type: 'text' is_nullable: 1 - size: 255 =head2 allow_additional_materials_checkout @@ -61,9 +60,8 @@ Foreign key to sip_institutions.sip_institution_id =head2 av_field_template - data_type: 'varchar' + data_type: 'text' is_nullable: 1 - size: 255 =head2 blocked_item_types @@ -105,9 +103,8 @@ Foreign key to sip_institutions.sip_institution_id =head2 da_field_template - data_type: 'varchar' + data_type: 'text' is_nullable: 1 - size: 255 =head2 delimiter @@ -254,7 +251,7 @@ __PACKAGE__->add_columns( "sip_institution_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, "ae_field_template", - { data_type => "varchar", is_nullable => 1, size => 255 }, + { data_type => "text", is_nullable => 1 }, "allow_additional_materials_checkout", { data_type => "tinyint", is_nullable => 1 }, "allow_empty_passwords", @@ -262,7 +259,7 @@ __PACKAGE__->add_columns( "allow_fields", { data_type => "varchar", is_nullable => 1, size => 255 }, "av_field_template", - { data_type => "varchar", is_nullable => 1, size => 255 }, + { data_type => "text", is_nullable => 1 }, "blocked_item_types", { data_type => "varchar", is_nullable => 1, size => 255 }, "checked_in_ok", @@ -278,7 +275,7 @@ __PACKAGE__->add_columns( "cv_triggers_alert", { data_type => "tinyint", is_nullable => 1 }, "da_field_template", - { data_type => "varchar", is_nullable => 1, size => 255 }, + { data_type => "text", is_nullable => 1 }, "delimiter", { data_type => "varchar", default_value => "|", is_nullable => 1, size => 10 }, "disallow_overpayment", @@ -501,8 +498,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-04 15:47:11 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N8uHee0eMqOcg0I1obuEWA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-05-24 16:32:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7xlHxjcI/Du780Cz05dbDw __PACKAGE__->add_columns( diff --git a/Koha/Schema/Result/SipAccountCustomItemField.pm b/Koha/Schema/Result/SipAccountCustomItemField.pm index bf31b6b050..520f328495 100644 --- a/Koha/Schema/Result/SipAccountCustomItemField.pm +++ b/Koha/Schema/Result/SipAccountCustomItemField.pm @@ -47,11 +47,10 @@ SIP field name e.g. XY =head2 template - data_type: 'varchar' + data_type: 'text' is_nullable: 0 - size: 255 -Template toolkit template name +Template toolkit template =cut @@ -63,7 +62,7 @@ __PACKAGE__->add_columns( "field", { data_type => "varchar", is_nullable => 0, size => 80 }, "template", - { data_type => "varchar", is_nullable => 0, size => 255 }, + { data_type => "text", is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -115,8 +114,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-01-31 16:01:39 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bfjDQenSV/Z+RmPNNayf+w +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-05-24 16:32:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4x0May9UiSyOCIqDqcLJ4w # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/SipAccountCustomPatronField.pm b/Koha/Schema/Result/SipAccountCustomPatronField.pm index e95ff8795e..5c72202e9d 100644 --- a/Koha/Schema/Result/SipAccountCustomPatronField.pm +++ b/Koha/Schema/Result/SipAccountCustomPatronField.pm @@ -47,9 +47,8 @@ SIP field name e.g. XY =head2 template - data_type: 'varchar' + data_type: 'text' is_nullable: 0 - size: 80 Template toolkit template @@ -63,7 +62,7 @@ __PACKAGE__->add_columns( "field", { data_type => "varchar", is_nullable => 0, size => 80 }, "template", - { data_type => "varchar", is_nullable => 0, size => 80 }, + { data_type => "text", is_nullable => 0 }, ); =head1 PRIMARY KEY @@ -115,8 +114,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-04 13:31:16 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1mg3Ed2+AR3Hbzg89mN/NA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-05-24 16:32:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LoxKYcjEzO7Z2zRaME5eNA # You can replace this text with custom code or comments, and it will be preserved on regeneration