Bugzilla – Attachment 173574 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.60 KB, created by
Martin Renvoize (ashimema)
on 2024-10-28 17:14:27 UTC
(
hide
)
Description:
Bug 35625: DBIC Schema update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-28 17:14:27 UTC
Size:
1.60 KB
patch
obsolete
>From 33c66f7b50ff427abca42659777984c54c7cd1ba Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 28 Oct 2024 17:13:08 +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 51e184d5ff3..30a7e1674e2 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.07051 @ 2024-08-23 15:47:56 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8ZpUf0l+6h44AHDf7eV/1g >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-28 17:12:49 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LnfM6m79gYySVBxAr9UJAg > > __PACKAGE__->add_columns( > '+repeatable' => { is_boolean => 1 }, >-- >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 35625
:
160171
|
160172
|
160173
|
160174
|
160175
|
160176
|
173567
|
173568
|
173569
|
173570
|
173571
|
173573
| 173574 |
173575
|
173576
|
173577
|
173578