107 lines
1.7 KiB
Perl
107 lines
1.7 KiB
Perl
use utf8;
|
|
package Koha::Schema::Result::ColumnsSetting;
|
|
|
|
# Created by DBIx::Class::Schema::Loader
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE
|
|
|
|
=head1 NAME
|
|
|
|
Koha::Schema::Result::ColumnsSetting
|
|
|
|
=cut
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use base 'DBIx::Class::Core';
|
|
|
|
=head1 TABLE: C<columns_settings>
|
|
|
|
=cut
|
|
|
|
__PACKAGE__->table("columns_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 columnname
|
|
|
|
data_type: 'varchar'
|
|
is_nullable: 0
|
|
size: 255
|
|
|
|
=head2 cannot_be_toggled
|
|
|
|
data_type: 'tinyint'
|
|
default_value: 0
|
|
is_nullable: 0
|
|
|
|
=head2 is_hidden
|
|
|
|
data_type: 'tinyint'
|
|
default_value: 0
|
|
is_nullable: 0
|
|
|
|
=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 },
|
|
"columnname",
|
|
{ data_type => "varchar", is_nullable => 0, size => 255 },
|
|
"cannot_be_toggled",
|
|
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
|
|
"is_hidden",
|
|
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
|
|
);
|
|
|
|
=head1 PRIMARY KEY
|
|
|
|
=over 4
|
|
|
|
=item * L</module>
|
|
|
|
=item * L</page>
|
|
|
|
=item * L</tablename>
|
|
|
|
=item * L</columnname>
|
|
|
|
=back
|
|
|
|
=cut
|
|
|
|
__PACKAGE__->set_primary_key("module", "page", "tablename", "columnname");
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-06 16:22:12
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R8o+1pqMYgYJE/eXivpn1w
|
|
|
|
__PACKAGE__->add_columns(
|
|
'+cannot_be_toggled' => { is_boolean => 1 },
|
|
'+is_hidden' => { is_boolean => 1 },
|
|
);
|
|
|
|
1;
|