Bugzilla – Attachment 121818 Details for
Bug 28490
Cannot modify patrons in some categories (e.g. Child category)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28490: Add DBIx schema changes for testing
0008-Bug-28490-Add-DBIx-schema-changes-for-testing.patch (text/plain), 4.51 KB, created by
Emmi Takkinen
on 2021-06-11 10:29:16 UTC
(
hide
)
Description:
Bug 28490: Add DBIx schema changes for testing
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2021-06-11 10:29:16 UTC
Size:
4.51 KB
patch
obsolete
>From 99d05660fac44dc68a1c8021e69d43661d0cc3cd Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@helsinki.fi> >Date: Mon, 7 Jun 2021 05:30:35 +0000 >Subject: [PATCH 8/8] Bug 28490: Add DBIx schema changes for testing > >Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com> >Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >--- > Koha/Schema/Result/Borrower.pm | 14 ++++++++++++-- > Koha/Schema/Result/BorrowerModification.pm | 12 ++++++++++-- > Koha/Schema/Result/Deletedborrower.pm | 14 ++++++++++++-- > 3 files changed, 34 insertions(+), 6 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 0c342305f1..89529d93c0 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -362,6 +362,14 @@ used for children to include title (Mr., Mrs., etc) of guarantor > > a note on the patron/borrower's account that is only visible in the staff interface > >+=head2 relationship >+ >+ data_type: 'varchar' >+ is_nullable: 1 >+ size: 100 >+ >+used for children to include the relationship to their guarantor >+ > =head2 sex > > data_type: 'varchar' >@@ -698,6 +706,8 @@ __PACKAGE__->add_columns( > { data_type => "mediumtext", is_nullable => 1 }, > "borrowernotes", > { data_type => "longtext", is_nullable => 1 }, >+ "relationship", >+ { data_type => "varchar", is_nullable => 1, size => 100 }, > "sex", > { data_type => "varchar", is_nullable => 1, size => 1 }, > "password", >@@ -1855,8 +1865,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mrHF9QG7qY32EnjukdNZRw >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-07 05:28:03 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CgLzd4URQdNSXTgd7QnFFg > > __PACKAGE__->add_columns( > '+anonymized' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index bab6c8fbdf..d2c4485495 100644 >--- a/Koha/Schema/Result/BorrowerModification.pm >+++ b/Koha/Schema/Result/BorrowerModification.pm >@@ -295,6 +295,12 @@ __PACKAGE__->table("borrower_modifications"); > data_type: 'longtext' > is_nullable: 1 > >+=head2 relationship >+ >+ data_type: 'varchar' >+ is_nullable: 1 >+ size: 100 >+ > =head2 sex > > data_type: 'varchar' >@@ -541,6 +547,8 @@ __PACKAGE__->add_columns( > { data_type => "mediumtext", is_nullable => 1 }, > "borrowernotes", > { data_type => "longtext", is_nullable => 1 }, >+ "relationship", >+ { data_type => "varchar", is_nullable => 1, size => 100 }, > "sex", > { data_type => "varchar", is_nullable => 1, size => 1 }, > "password", >@@ -604,8 +612,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u4NyjVB0giKnFLHIjepc8A >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-07 05:28:03 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JZ6vS5nH8EPc0OL3LQRG+Q > > sub koha_object_class { > 'Koha::Patron::Modification'; >diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm >index 2324d81f00..195b23eb2b 100644 >--- a/Koha/Schema/Result/Deletedborrower.pm >+++ b/Koha/Schema/Result/Deletedborrower.pm >@@ -360,6 +360,14 @@ used for children to include title (Mr., Mrs., etc) of guarantor > > a note on the patron/borrower's account that is only visible in the staff interface > >+=head2 relationship >+ >+ data_type: 'varchar' >+ is_nullable: 1 >+ size: 100 >+ >+used for children to include the relationship to their guarantor >+ > =head2 sex > > data_type: 'varchar' >@@ -683,6 +691,8 @@ __PACKAGE__->add_columns( > { data_type => "mediumtext", is_nullable => 1 }, > "borrowernotes", > { data_type => "longtext", is_nullable => 1 }, >+ "relationship", >+ { data_type => "varchar", is_nullable => 1, size => 100 }, > "sex", > { data_type => "varchar", is_nullable => 1, size => 1 }, > "password", >@@ -765,8 +775,8 @@ __PACKAGE__->add_columns( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-05-10 13:50:02 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KIPkFRT1rq+Es9MdeJAvwg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-07 05:28:04 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/9VjUuilKGDwV/pLlf/4ew > > __PACKAGE__->add_columns( > '+anonymized' => { is_boolean => 1 }, >-- >2.25.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28490
:
121538
|
121545
|
121546
|
121547
|
121548
|
121549
|
121550
|
121551
|
121552
|
121595
|
121596
|
121597
|
121598
|
121599
|
121600
|
121601
|
121602
|
121655
|
121656
|
121661
|
121662
|
121663
|
121664
|
121665
|
121666
|
121667
|
121669
|
121811
|
121812
|
121813
|
121814
|
121815
|
121816
|
121817
|
121818
|
121823
|
121824
|
121825
|
121826
|
121827
|
121828
|
121829
|
121830
|
121915