Bugzilla – Attachment 159393 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: Schema
Bug-35451-Schema.patch (text/plain), 1.64 KB, created by
Martin Renvoize (ashimema)
on 2023-11-30 12:11:51 UTC
(
hide
)
Description:
Bug 35451: Schema
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-11-30 12:11:51 UTC
Size:
1.64 KB
patch
obsolete
>From 83503423c79385dbff15023b722f22fa98f82646 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: Schema > >--- > Koha/Schema/Result/AdditionalFieldValue.pm | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/AdditionalFieldValue.pm b/Koha/Schema/Result/AdditionalFieldValue.pm >index b3f1b7c41ea..0380f3b2d03 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: 'integer' >@@ -62,6 +71,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 => "integer", is_nullable => 0 }, > "value", >@@ -114,8 +125,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6Y4sBMbKYSbGN7fAy7OhEQ >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-30 11:56:41 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IFWZGKZhaJJ8RkB5c3zLPw > > > # 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 35451
:
159390
|
159391
|
159392
|
159393
|
159394
|
159747
|
159748
|
159749
|
159750
|
159751
|
173147
|
173148
|
173149
|
173150
|
173151
|
173421
|
173422
|
173423
|
173424
|
173425