2 package Koha::Schema::Result::ExportFormat;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ExportFormat - Used for CSV export
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<export_format>
22 __PACKAGE__->table("export_format");
26 =head2 export_format_id
55 =head2 field_separator
61 =head2 subfield_separator
84 default_value: 'export_records'
96 __PACKAGE__->add_columns(
98 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
100 { data_type => "varchar", is_nullable => 0, size => 255 },
102 { data_type => "longtext", is_nullable => 0 },
104 { data_type => "longtext", is_nullable => 0 },
106 { data_type => "varchar", default_value => ",", is_nullable => 0, size => 2 },
108 { data_type => "varchar", is_nullable => 1, size => 2 },
109 "subfield_separator",
110 { data_type => "varchar", is_nullable => 1, size => 2 },
113 data_type => "varchar",
114 default_value => "utf8",
120 data_type => "varchar",
121 default_value => "marc",
127 data_type => "varchar",
128 default_value => "export_records",
133 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
140 =item * L</export_format_id>
146 __PACKAGE__->set_primary_key("export_format_id");
149 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-20 20:08:25
150 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J2VDj9yI8uanFR9EGv2sXw
152 sub koha_object_class {
155 sub koha_objects_class {
159 __PACKAGE__->add_columns(
160 '+opac_option' => { is_boolean => 1 },