|
Line 0
Link Here
|
|
|
1 |
use utf8; |
| 2 |
package Koha::Schema::Result::ColumnsSetting; |
| 3 |
|
| 4 |
# Created by DBIx::Class::Schema::Loader |
| 5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
| 6 |
|
| 7 |
=head1 NAME |
| 8 |
|
| 9 |
Koha::Schema::Result::ColumnsSetting |
| 10 |
|
| 11 |
=cut |
| 12 |
|
| 13 |
use strict; |
| 14 |
use warnings; |
| 15 |
|
| 16 |
use base 'DBIx::Class::Core'; |
| 17 |
|
| 18 |
=head1 TABLE: C<columns_settings> |
| 19 |
|
| 20 |
=cut |
| 21 |
|
| 22 |
__PACKAGE__->table("columns_settings"); |
| 23 |
|
| 24 |
=head1 ACCESSORS |
| 25 |
|
| 26 |
=head2 module |
| 27 |
|
| 28 |
data_type: 'varchar' |
| 29 |
is_nullable: 0 |
| 30 |
size: 255 |
| 31 |
|
| 32 |
=head2 page |
| 33 |
|
| 34 |
data_type: 'varchar' |
| 35 |
is_nullable: 0 |
| 36 |
size: 255 |
| 37 |
|
| 38 |
=head2 tablename |
| 39 |
|
| 40 |
data_type: 'varchar' |
| 41 |
is_nullable: 0 |
| 42 |
size: 255 |
| 43 |
|
| 44 |
=head2 columnname |
| 45 |
|
| 46 |
data_type: 'varchar' |
| 47 |
is_nullable: 0 |
| 48 |
size: 255 |
| 49 |
|
| 50 |
=head2 cannot_be_toggled |
| 51 |
|
| 52 |
data_type: 'integer' |
| 53 |
default_value: 0 |
| 54 |
is_nullable: 0 |
| 55 |
|
| 56 |
=head2 is_hidden |
| 57 |
|
| 58 |
data_type: 'integer' |
| 59 |
default_value: 0 |
| 60 |
is_nullable: 0 |
| 61 |
|
| 62 |
=cut |
| 63 |
|
| 64 |
__PACKAGE__->add_columns( |
| 65 |
"module", |
| 66 |
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
| 67 |
"page", |
| 68 |
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
| 69 |
"tablename", |
| 70 |
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
| 71 |
"columnname", |
| 72 |
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
| 73 |
"cannot_be_toggled", |
| 74 |
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
| 75 |
"is_hidden", |
| 76 |
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
| 77 |
); |
| 78 |
|
| 79 |
=head1 PRIMARY KEY |
| 80 |
|
| 81 |
=over 4 |
| 82 |
|
| 83 |
=item * L</module> |
| 84 |
|
| 85 |
=item * L</page> |
| 86 |
|
| 87 |
=item * L</tablename> |
| 88 |
|
| 89 |
=item * L</columnname> |
| 90 |
|
| 91 |
=back |
| 92 |
|
| 93 |
=cut |
| 94 |
|
| 95 |
__PACKAGE__->set_primary_key("module", "page", "tablename", "columnname"); |
| 96 |
|
| 97 |
|
| 98 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-07 12:11:07 |
| 99 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:s4Zkf15c4v0RJyb1S5UTPA |
| 100 |
|
| 101 |
|
| 102 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
| 103 |
1; |