2 package Koha::Schema::Result::Systempreference;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Systempreference
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<systempreferences>
22 __PACKAGE__->table("systempreferences");
29 default_value: (empty string)
33 system preference name
37 data_type: 'mediumtext'
40 system preference values
47 options for multiple choice system preferences
51 data_type: 'mediumtext'
54 descriptive text for the system preference
62 type of question this preference asks (multiple choice, plain text, yes or no, etc)
66 __PACKAGE__->add_columns(
68 { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 },
70 { data_type => "mediumtext", is_nullable => 1 },
72 { data_type => "longtext", is_nullable => 1 },
74 { data_type => "mediumtext", is_nullable => 1 },
76 { data_type => "varchar", is_nullable => 1, size => 20 },
89 __PACKAGE__->set_primary_key("variable");
92 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
93 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d9V4/gPRw1ucbd/TzEzNUQ
95 sub koha_object_class {
96 'Koha::Config::SysPref';
98 sub koha_objects_class {
99 'Koha::Config::SysPrefs';