Bugzilla – Attachment 165820 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]
Bug 36687: Schema updates
Bug-36687-Schema-updates.patch (text/plain), 1.55 KB, created by
Lucas Gass (lukeg)
on 2024-04-29 23:04:07 UTC
(
hide
)
Description:
Bug 36687: Schema updates
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-04-29 23:04:07 UTC
Size:
1.55 KB
patch
obsolete
>From 759fc26660220c7c52d469a21d7ed79dee9a5bde Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 29 Apr 2024 23:03:32 +0000 >Subject: [PATCH] Bug 36687: Schema updates > >--- > 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 d005da023f..8f30f5d540 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.30.2
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