From b0e03c228c90a04413fcd4d7cfeacc655ab82758 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 5 Dec 2019 17:13:50 +0100 Subject: [PATCH] Bug 24156: DBIC changes Signed-off-by: Liz Rea --- Koha/Schema/Result/ColumnsSetting.pm | 4 +- Koha/Schema/Result/TablesSetting.pm | 93 ++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 Koha/Schema/Result/TablesSetting.pm diff --git a/Koha/Schema/Result/ColumnsSetting.pm b/Koha/Schema/Result/ColumnsSetting.pm index 05d65fa1de..0bd430766d 100644 --- a/Koha/Schema/Result/ColumnsSetting.pm +++ b/Koha/Schema/Result/ColumnsSetting.pm @@ -95,8 +95,8 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("module", "page", "tablename", "columnname"); -# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-07 12:11:07 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s4Zkf15c4v0RJyb1S5UTPA +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-12 16:06:36 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IhREpW2PRxxFF9EYOGt2Qg # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/TablesSetting.pm b/Koha/Schema/Result/TablesSetting.pm new file mode 100644 index 0000000000..a227a29490 --- /dev/null +++ b/Koha/Schema/Result/TablesSetting.pm @@ -0,0 +1,93 @@ +use utf8; +package Koha::Schema::Result::TablesSetting; + +# Created by DBIx::Class::Schema::Loader +# DO NOT MODIFY THE FIRST PART OF THIS FILE + +=head1 NAME + +Koha::Schema::Result::TablesSetting + +=cut + +use strict; +use warnings; + +use base 'DBIx::Class::Core'; + +=head1 TABLE: C + +=cut + +__PACKAGE__->table("tables_settings"); + +=head1 ACCESSORS + +=head2 module + + data_type: 'varchar' + is_nullable: 0 + size: 255 + +=head2 page + + data_type: 'varchar' + is_nullable: 0 + size: 255 + +=head2 tablename + + data_type: 'varchar' + is_nullable: 0 + size: 255 + +=head2 default_display_length + + data_type: 'smallint' + default_value: 20 + is_nullable: 0 + +=head2 default_sort_order + + data_type: 'varchar' + is_nullable: 1 + size: 255 + +=cut + +__PACKAGE__->add_columns( + "module", + { data_type => "varchar", is_nullable => 0, size => 255 }, + "page", + { data_type => "varchar", is_nullable => 0, size => 255 }, + "tablename", + { data_type => "varchar", is_nullable => 0, size => 255 }, + "default_display_length", + { data_type => "smallint", default_value => 20, is_nullable => 0 }, + "default_sort_order", + { data_type => "varchar", is_nullable => 1, size => 255 }, +); + +=head1 PRIMARY KEY + +=over 4 + +=item * L + +=item * L + +=item * L + +=back + +=cut + +__PACKAGE__->set_primary_key("module", "page", "tablename"); + + +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-10 17:22:41 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A2GDoSG702QYDH8nYPEJ2Q + + +# You can replace this text with custom code or comments, and it will be preserved on regeneration +1; -- 2.20.1