Bugzilla – Attachment 166414 Details for
Bug 36687
itemtypes.notforloan should be tinyint and NOT NULL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[DO NOT PUSH] Bug 36687: Schema updates
DO-NOT-PUSH-Bug-36687-Schema-updates.patch (text/plain), 1.68 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-05-08 13:18:59 UTC
(
hide
)
Description:
[DO NOT PUSH] Bug 36687: Schema updates
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-05-08 13:18:59 UTC
Size:
1.68 KB
patch
obsolete
>From eb2879f2737f003ee7fe8ef8600ebfae0c8e2e19 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 29 Apr 2024 23:03:32 +0000 >Subject: [PATCH] [DO NOT PUSH] Bug 36687: Schema updates > >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Schema/Result/Itemtype.pm | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index d005da023f4..8f30f5d5402 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -106,8 +106,9 @@ default text be recorded in the column note when the processing fee is applied > > =head2 notforloan > >- data_type: 'smallint' >- is_nullable: 1 >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 > > 1 if the item is not for loan, 0 if the item is available for loan > >@@ -199,7 +200,7 @@ __PACKAGE__->add_columns( > "processfee", > { data_type => "decimal", is_nullable => 1, size => [28, 6] }, > "notforloan", >- { data_type => "smallint", is_nullable => 1 }, >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "imageurl", > { data_type => "varchar", is_nullable => 1, size => 200 }, > "summary", >@@ -333,8 +334,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-22 11:31:25 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SoRKIMEqXE2+RkGq6zBejA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-04-29 23:00:24 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sk+On8Rdc7XQpif21w5/xg > > __PACKAGE__->add_columns( > '+automatic_checkin' => { is_boolean => 1 }, >-- >2.45.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 36687
:
165483
|
165484
|
165819
|
165820
|
165840
|
165841
|
166257
|
166413
| 166414 |
166447
|
166448