2 package Koha
::Schema
::Result
::PrintersProfile
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::PrintersProfile
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<printers_profile>
22 __PACKAGE__
->table("printers_profile");
35 default_value: 'Default Printer'
48 default_value: 'Bypass'
79 default_value: 'POINT'
86 default_value: 'Labels'
92 __PACKAGE__
->add_columns(
94 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
97 data_type
=> "varchar",
98 default_value
=> "Default Printer",
103 { data_type
=> "integer", default_value
=> 0, is_nullable
=> 0 },
106 data_type
=> "varchar",
107 default_value
=> "Bypass",
112 { data_type
=> "float", default_value
=> 0, is_nullable
=> 0 },
114 { data_type
=> "float", default_value
=> 0, is_nullable
=> 0 },
116 { data_type
=> "float", default_value
=> 0, is_nullable
=> 0 },
118 { data_type
=> "float", default_value
=> 0, is_nullable
=> 0 },
120 { data_type
=> "char", default_value
=> "POINT", is_nullable
=> 0, size
=> 20 },
124 default_value
=> "Labels",
134 =item * L</profile_id>
140 __PACKAGE__
->set_primary_key("profile_id");
142 =head1 UNIQUE CONSTRAINTS
144 =head2 C<printername>
148 =item * L</printer_name>
150 =item * L</template_id>
152 =item * L</paper_bin>
160 __PACKAGE__
->add_unique_constraint(
162 ["printer_name", "template_id", "paper_bin", "creator"],
166 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
167 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GJid4zfVF0MmMnUn3xyVbA
170 # You can replace this text with custom content, and it will be preserved on regeneration