Bug 24156: DBIC changes

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2019-12-05 17:13:50 +01:00
parent 259e7d3003
commit bee30340b8
2 changed files with 95 additions and 2 deletions

View file

@ -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

View file

@ -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<tables_settings>
=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</module>
=item * L</page>
=item * L</tablename>
=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;