Bugzilla – Attachment 160172 Details for
Bug 35625
Add support for system flag to additional fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35625: DBIC Schema update
Bug-35625-DBIC-Schema-update.patch (text/plain), 1.63 KB, created by
Martin Renvoize (ashimema)
on 2023-12-21 09:49:12 UTC
(
hide
)
Description:
Bug 35625: DBIC Schema update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-12-21 09:49:12 UTC
Size:
1.63 KB
patch
obsolete
>From 76b25ac26128a4149652a5b1b898d94985bd42ea Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 21 Dec 2023 09:15:55 +0000 >Subject: [PATCH] Bug 35625: DBIC Schema update > >--- > Koha/Schema/Result/AdditionalField.pm | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/AdditionalField.pm b/Koha/Schema/Result/AdditionalField.pm >index afdd77cc2e1..44071834fbf 100644 >--- a/Koha/Schema/Result/AdditionalField.pm >+++ b/Koha/Schema/Result/AdditionalField.pm >@@ -40,6 +40,14 @@ primary key identifier > > tablename of the new field > >+=head2 is_system >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+is this field required for system operation >+ > =head2 name > > data_type: 'varchar' >@@ -98,6 +106,8 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, > "tablename", > { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, >+ "is_system", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "name", > { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, > "authorised_value_category", >@@ -163,8 +173,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-03 17:19:32 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fnWeynuQnePWYM90CJKZ5Q >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-12-21 09:19:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zaNlZ+DHrKbHEALlQbOh8w > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.43.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 35625
:
160171
|
160172
|
160173
|
160174
|
160175
|
160176
|
173567
|
173568
|
173569
|
173570
|
173571
|
173573
|
173574
|
173575
|
173576
|
173577
|
173578