Bugzilla – Attachment 173934 Details for
Bug 28633
Add a preferred name field to patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28633: DBIC Schema
Bug-28633-DBIC-Schema.patch (text/plain), 4.65 KB, created by
Martin Renvoize (ashimema)
on 2024-11-04 15:44:44 UTC
(
hide
)
Description:
Bug 28633: DBIC Schema
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-11-04 15:44:44 UTC
Size:
4.65 KB
patch
obsolete
>From be6fa21e12710cee3e938a8d5977bd6b6c10778d Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 4 Nov 2024 15:09:45 +0000 >Subject: [PATCH] Bug 28633: DBIC Schema > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/Booking.pm | 12 ++++++------ > Koha/Schema/Result/BorrowerDebarment.pm | 6 +++--- > Koha/Schema/Result/ImportOaiAuthority.pm | 6 +++--- > Koha/Schema/Result/ImportOaiBiblio.pm | 6 +++--- > 4 files changed, 15 insertions(+), 15 deletions(-) > >diff --git a/Koha/Schema/Result/Booking.pm b/Koha/Schema/Result/Booking.pm >index 2231dbf19a3..e357e12db77 100644 >--- a/Koha/Schema/Result/Booking.pm >+++ b/Koha/Schema/Result/Booking.pm >@@ -87,7 +87,7 @@ the end date of the booking > data_type: 'timestamp' > datetime_undef_if_invalid: 1 > default_value: current_timestamp >- is_nullable: 0 >+ is_nullable: 1 > > the timestamp for when a booking was created > >@@ -96,7 +96,7 @@ the timestamp for when a booking was created > data_type: 'timestamp' > datetime_undef_if_invalid: 1 > default_value: current_timestamp >- is_nullable: 0 >+ is_nullable: 1 > > the timestamp for when a booking has been updated > >@@ -157,14 +157,14 @@ __PACKAGE__->add_columns( > data_type => "timestamp", > datetime_undef_if_invalid => 1, > default_value => \"current_timestamp", >- is_nullable => 0, >+ is_nullable => 1, > }, > "modification_date", > { > data_type => "timestamp", > datetime_undef_if_invalid => 1, > default_value => \"current_timestamp", >- is_nullable => 0, >+ is_nullable => 1, > }, > "status", > { >@@ -257,8 +257,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-24 16:23:05 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kTR2kwiwY2PnjU1E0P+CMQ >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7ItG3217d3lYx8ALRsktrw > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/BorrowerDebarment.pm b/Koha/Schema/Result/BorrowerDebarment.pm >index da2b1413284..12506af3074 100644 >--- a/Koha/Schema/Result/BorrowerDebarment.pm >+++ b/Koha/Schema/Result/BorrowerDebarment.pm >@@ -158,12 +158,12 @@ __PACKAGE__->belongs_to( > "type", > "Koha::Schema::Result::RestrictionType", > { code => "type" }, >- { is_deferrable => 1, on_delete => "NO ACTION", on_update => "CASCADE" }, >+ { is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" }, > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-19 17:53:04 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kDCkA7XrjKXlrFG5lk8Lgg >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BqN5VeZcgj6vNscHw+yukw > > sub koha_objects_class { > 'Koha::Patron::Restrictions'; >diff --git a/Koha/Schema/Result/ImportOaiAuthority.pm b/Koha/Schema/Result/ImportOaiAuthority.pm >index 28a8f96219e..00ca8e4f7a0 100644 >--- a/Koha/Schema/Result/ImportOaiAuthority.pm >+++ b/Koha/Schema/Result/ImportOaiAuthority.pm >@@ -140,12 +140,12 @@ __PACKAGE__->belongs_to( > "authid", > "Koha::Schema::Result::AuthHeader", > { authid => "authid" }, >- { is_deferrable => 1, on_delete => "CASCADE", on_update => "NO ACTION" }, >+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" }, > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-31 14:51:58 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PoiX9tXFhEq07VBfEg9HFw >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+OlzuRqVRPGx+tuzwPDvGg > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/ImportOaiBiblio.pm b/Koha/Schema/Result/ImportOaiBiblio.pm >index 95e24d7c396..b517287ceed 100644 >--- a/Koha/Schema/Result/ImportOaiBiblio.pm >+++ b/Koha/Schema/Result/ImportOaiBiblio.pm >@@ -134,12 +134,12 @@ __PACKAGE__->belongs_to( > "biblionumber", > "Koha::Schema::Result::Biblio", > { biblionumber => "biblionumber" }, >- { is_deferrable => 1, on_delete => "CASCADE", on_update => "NO ACTION" }, >+ { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" }, > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-07-31 14:51:58 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:25riMQF65/EoFhTXdZbcBg >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-04 15:06:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M2ZXUn0Q7Z2zJnzu5wiSvw > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.47.0
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 28633
:
123008
|
123009
|
123010
|
123658
|
125497
|
125498
|
125499
|
125500
|
126591
|
128968
|
128969
|
128970
|
130000
|
130001
|
130002
|
133445
|
133446
|
133447
|
133448
|
133449
|
133450
|
133451
|
133958
|
133959
|
133960
|
133961
|
133962
|
133963
|
133964
|
133965
|
166792
|
166793
|
166794
|
166813
|
166814
|
166815
|
166816
|
166817
|
167163
|
167164
|
173628
|
173629
|
173630
|
173631
|
173632
|
173633
|
173634
|
173664
|
173665
|
173666
|
173667
|
173668
|
173669
|
173670
|
173717
|
173718
|
173719
|
173813
|
173814
|
173815
|
173816
|
173826
|
173827
|
173828
|
173829
|
173930
|
173931
|
173932
|
173933
| 173934 |
173935
|
173936
|
174419
|
174420
|
174472
|
175177