Bugzilla – Attachment 155321 Details for
Bug 33605
Import framework and overlay framework are not stored for imports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33605: schema changes (don't push)
Bug-33605-schema-changes-dont-push.patch (text/plain), 3.95 KB, created by
Sam Lau
on 2023-09-07 15:39:39 UTC
(
hide
)
Description:
Bug 33605: schema changes (don't push)
Filename:
MIME Type:
Creator:
Sam Lau
Created:
2023-09-07 15:39:39 UTC
Size:
3.95 KB
patch
obsolete
>From f6b870e1cf2c5fd3060984cfb9d47430413cf4a1 Mon Sep 17 00:00:00 2001 >From: Sam Lau <samalau@gmail.com> >Date: Tue, 8 Aug 2023 16:01:45 +0000 >Subject: [PATCH] Bug 33605: schema changes (don't push) > >--- > Koha/Schema/Result/ImportBatch.pm | 22 ++++++++++++++++++++-- > Koha/Schema/Result/ImportBatchProfile.pm | 24 +++++++++++++++++++++--- > 2 files changed, 41 insertions(+), 5 deletions(-) > >diff --git a/Koha/Schema/Result/ImportBatch.pm b/Koha/Schema/Result/ImportBatch.pm >index da8f290a74..e9cd4f36b6 100644 >--- a/Koha/Schema/Result/ImportBatch.pm >+++ b/Koha/Schema/Result/ImportBatch.pm >@@ -83,6 +83,13 @@ date and time the file was uploaded > > how to handle duplicate records > >+=head2 overlay_frameworkcode >+ >+ data_type: 'varchar' >+ default_value: (empty string) >+ is_nullable: 0 >+ size: 50 >+ > =head2 nomatch_action > > data_type: 'enum' >@@ -92,6 +99,13 @@ how to handle duplicate records > > how to handle records where no match is found > >+=head2 import_frameworkcode >+ >+ data_type: 'varchar' >+ default_value: (empty string) >+ is_nullable: 0 >+ size: 50 >+ > =head2 item_action > > data_type: 'enum' >@@ -178,6 +192,8 @@ __PACKAGE__->add_columns( > extra => { list => ["replace", "create_new", "use_template", "ignore"] }, > is_nullable => 0, > }, >+ "overlay_frameworkcode", >+ { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 }, > "nomatch_action", > { > data_type => "enum", >@@ -185,6 +201,8 @@ __PACKAGE__->add_columns( > extra => { list => ["create_new", "ignore"] }, > is_nullable => 0, > }, >+ "import_frameworkcode", >+ { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 }, > "item_action", > { > data_type => "enum", >@@ -289,8 +307,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:+/u1tQQzT5ygzGwVgWxxwg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-08-10 14:43:20 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4sVhtTRoU1032yvQjA5Wfw > > =head2 koha_object_class > >diff --git a/Koha/Schema/Result/ImportBatchProfile.pm b/Koha/Schema/Result/ImportBatchProfile.pm >index faf19433ff..c760b6a21b 100644 >--- a/Koha/Schema/Result/ImportBatchProfile.pm >+++ b/Koha/Schema/Result/ImportBatchProfile.pm >@@ -61,6 +61,13 @@ the id of the marc modification template > > how to handle duplicate records > >+=head2 overlay_frameworkcode >+ >+ data_type: 'varchar' >+ default_value: (empty string) >+ is_nullable: 0 >+ size: 50 >+ > =head2 nomatch_action > > data_type: 'varchar' >@@ -69,6 +76,13 @@ how to handle duplicate records > > how to handle records where no match is found > >+=head2 import_frameworkcode >+ >+ data_type: 'varchar' >+ default_value: (empty string) >+ is_nullable: 0 >+ size: 50 >+ > =head2 item_action > > data_type: 'varchar' >@@ -128,8 +142,12 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_nullable => 1 }, > "overlay_action", > { data_type => "varchar", is_nullable => 1, size => 50 }, >+ "overlay_frameworkcode", >+ { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 }, > "nomatch_action", > { data_type => "varchar", is_nullable => 1, size => 50 }, >+ "import_frameworkcode", >+ { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 }, > "item_action", > { data_type => "varchar", is_nullable => 1, size => 50 }, > "parse_items", >@@ -188,14 +206,14 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RmvuwPN8RT+tBsxR+Q7unA >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-08-09 19:11:18 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E8EKtIdYKkf1PT3aFo9trA > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration > > __PACKAGE__->add_columns( >- '+parse_items' => { is_boolean => 1 }, >+ '+parse_items' => { is_boolean => 1 }, > ); > > =head2 koha_object_class >-- >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 33605
:
150203
|
155320
| 155321