Bug 13242: Add a UT to t/DateUtils.t for testing DateTime bug
[koha.git] / Koha / Schema / Result / ExportFormat.pm
1 use utf8;
2 package Koha::Schema::Result::ExportFormat;
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::ExportFormat - Used for CSV export
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<export_format>
19
20 =cut
21
22 __PACKAGE__->table("export_format");
23
24 =head1 ACCESSORS
25
26 =head2 export_format_id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 profile
33
34   data_type: 'varchar'
35   is_nullable: 0
36   size: 255
37
38 =head2 description
39
40   data_type: 'mediumtext'
41   is_nullable: 0
42
43 =head2 content
44
45   data_type: 'mediumtext'
46   is_nullable: 0
47
48 =head2 csv_separator
49
50   data_type: 'varchar'
51   is_nullable: 0
52   size: 2
53
54 =head2 field_separator
55
56   data_type: 'varchar'
57   is_nullable: 0
58   size: 2
59
60 =head2 subfield_separator
61
62   data_type: 'varchar'
63   is_nullable: 0
64   size: 2
65
66 =head2 encoding
67
68   data_type: 'varchar'
69   is_nullable: 0
70   size: 255
71
72 =head2 type
73
74   data_type: 'varchar'
75   default_value: 'marc'
76   is_nullable: 1
77   size: 255
78
79 =cut
80
81 __PACKAGE__->add_columns(
82   "export_format_id",
83   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
84   "profile",
85   { data_type => "varchar", is_nullable => 0, size => 255 },
86   "description",
87   { data_type => "mediumtext", is_nullable => 0 },
88   "content",
89   { data_type => "mediumtext", is_nullable => 0 },
90   "csv_separator",
91   { data_type => "varchar", is_nullable => 0, size => 2 },
92   "field_separator",
93   { data_type => "varchar", is_nullable => 0, size => 2 },
94   "subfield_separator",
95   { data_type => "varchar", is_nullable => 0, size => 2 },
96   "encoding",
97   { data_type => "varchar", is_nullable => 0, size => 255 },
98   "type",
99   {
100     data_type => "varchar",
101     default_value => "marc",
102     is_nullable => 1,
103     size => 255,
104   },
105 );
106
107 =head1 PRIMARY KEY
108
109 =over 4
110
111 =item * L</export_format_id>
112
113 =back
114
115 =cut
116
117 __PACKAGE__->set_primary_key("export_format_id");
118
119
120 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
121 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AJbxXXJBftCbSKm2E/ZTjA
122
123
124 # You can replace this text with custom content, and it will be preserved on regeneration
125 1;