From fbc5b9b95ff4f400f4422b55483fa7e73aa3a0cd Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 3 Oct 2024 11:24:22 +0200 Subject: [PATCH] Bug 33484: DBIC Schema change Signed-off-by: Pedro Amorim Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- Koha/Schema/Result/TablesSetting.pm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Koha/Schema/Result/TablesSetting.pm b/Koha/Schema/Result/TablesSetting.pm index aa36d18a37a..9b7bc22c9b9 100644 --- a/Koha/Schema/Result/TablesSetting.pm +++ b/Koha/Schema/Result/TablesSetting.pm @@ -55,6 +55,13 @@ __PACKAGE__->table("tables_settings"); =head2 default_save_state data_type: 'tinyint' + default_value: 1 + is_nullable: 1 + +=head2 default_save_state_search + + data_type: 'tinyint' + default_value: 0 is_nullable: 1 =cut @@ -71,7 +78,9 @@ __PACKAGE__->add_columns( "default_sort_order", { data_type => "varchar", is_nullable => 1, size => 255 }, "default_save_state", - { data_type => "tinyint", is_nullable => 1 }, + { data_type => "tinyint", default_value => 1, is_nullable => 1 }, + "default_save_state_search", + { data_type => "tinyint", default_value => 0, is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -91,8 +100,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("module", "page", "tablename"); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-19 18:48:24 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+Bsg0TAz2CfvQ5MJsiOFRw +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-03 09:24:14 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+IhbaYydX2NWPTXYCazrWg # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.34.1