Bugzilla – Attachment 187467 Details for
Bug 35451
Add tablename field to additional_field_values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35451: DBIC Schema
Bug-35451-DBIC-Schema.patch (text/plain), 1.52 KB, created by
Paul Derscheid
on 2025-10-06 12:25:48 UTC
(
hide
)
Description:
Bug 35451: DBIC Schema
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2025-10-06 12:25:48 UTC
Size:
1.52 KB
patch
obsolete
>From 41fd3241f7150f38a19fa7dd201bec039c71021e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 30 Nov 2023 11:56:53 +0000 >Subject: [PATCH] Bug 35451: DBIC Schema > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > Koha/Schema/Result/AdditionalFieldValue.pm | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git a/Koha/Schema/Result/AdditionalFieldValue.pm b/Koha/Schema/Result/AdditionalFieldValue.pm >index 41afdb5bec6..d5e376888a9 100644 >--- a/Koha/Schema/Result/AdditionalFieldValue.pm >+++ b/Koha/Schema/Result/AdditionalFieldValue.pm >@@ -39,6 +39,15 @@ primary key identifier > > foreign key references additional_fields(id) > >+=head2 record_table >+ >+ data_type: 'varchar' >+ default_value: (empty string) >+ is_nullable: 0 >+ size: 255 >+ >+tablename of the related record >+ > =head2 record_id > > data_type: 'varchar' >@@ -64,6 +73,8 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, > "field_id", > { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, >+ "record_table", >+ { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, > "record_id", > { data_type => "varchar", default_value => "", is_nullable => 0, size => 80 }, > "value", >@@ -105,4 +116,4 @@ __PACKAGE__->belongs_to( > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-1; >+1; >\ No newline at end of file >-- >2.39.5
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 35451
:
159390
|
159391
|
159392
|
159393
|
159394
|
159747
|
159748
|
159749
|
159750
|
159751
|
173147
|
173148
|
173149
|
173150
|
173151
|
173421
|
173422
|
173423
|
173424
|
173425
|
178332
|
178333
|
178334
|
178335
|
178336
|
178337
|
178338
|
178339
|
178340
|
178341
|
180806
|
180807
|
180808
|
180809
|
180810
|
182401
|
182402
|
182403
|
182404
|
182405
|
182406
|
182407
|
182408
|
182409
|
182410
|
182411
|
182412
|
182413
|
187210
|
187211
|
187212
|
187213
|
187214
|
187215
|
187216
|
187464
|
187465
|
187466
| 187467 |
187468
|
187469
|
187470
|
187471