Bug 8798: (follow-up) update the DBIC schema class files
[koha.git] / Koha / Schema / Result / SavedSql.pm
1 use utf8;
2 package Koha::Schema::Result::SavedSql;
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::SavedSql
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<saved_sql>
19
20 =cut
21
22 __PACKAGE__->table("saved_sql");
23
24 =head1 ACCESSORS
25
26 =head2 id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 borrowernumber
33
34   data_type: 'integer'
35   is_nullable: 1
36
37 =head2 date_created
38
39   data_type: 'datetime'
40   datetime_undef_if_invalid: 1
41   is_nullable: 1
42
43 =head2 last_modified
44
45   data_type: 'datetime'
46   datetime_undef_if_invalid: 1
47   is_nullable: 1
48
49 =head2 savedsql
50
51   data_type: 'text'
52   is_nullable: 1
53
54 =head2 last_run
55
56   data_type: 'datetime'
57   datetime_undef_if_invalid: 1
58   is_nullable: 1
59
60 =head2 report_name
61
62   data_type: 'varchar'
63   is_nullable: 1
64   size: 255
65
66 =head2 type
67
68   data_type: 'varchar'
69   is_nullable: 1
70   size: 255
71
72 =head2 notes
73
74   data_type: 'text'
75   is_nullable: 1
76
77 =head2 cache_expiry
78
79   data_type: 'integer'
80   default_value: 300
81   is_nullable: 0
82
83 =head2 public
84
85   data_type: 'tinyint'
86   default_value: 0
87   is_nullable: 0
88
89 =head2 report_area
90
91   data_type: 'varchar'
92   is_nullable: 1
93   size: 6
94
95 =head2 report_group
96
97   data_type: 'varchar'
98   is_nullable: 1
99   size: 80
100
101 =head2 report_subgroup
102
103   data_type: 'varchar'
104   is_nullable: 1
105   size: 80
106
107 =cut
108
109 __PACKAGE__->add_columns(
110   "id",
111   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
112   "borrowernumber",
113   { data_type => "integer", is_nullable => 1 },
114   "date_created",
115   {
116     data_type => "datetime",
117     datetime_undef_if_invalid => 1,
118     is_nullable => 1,
119   },
120   "last_modified",
121   {
122     data_type => "datetime",
123     datetime_undef_if_invalid => 1,
124     is_nullable => 1,
125   },
126   "savedsql",
127   { data_type => "text", is_nullable => 1 },
128   "last_run",
129   {
130     data_type => "datetime",
131     datetime_undef_if_invalid => 1,
132     is_nullable => 1,
133   },
134   "report_name",
135   { data_type => "varchar", is_nullable => 1, size => 255 },
136   "type",
137   { data_type => "varchar", is_nullable => 1, size => 255 },
138   "notes",
139   { data_type => "text", is_nullable => 1 },
140   "cache_expiry",
141   { data_type => "integer", default_value => 300, is_nullable => 0 },
142   "public",
143   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
144   "report_area",
145   { data_type => "varchar", is_nullable => 1, size => 6 },
146   "report_group",
147   { data_type => "varchar", is_nullable => 1, size => 80 },
148   "report_subgroup",
149   { data_type => "varchar", is_nullable => 1, size => 80 },
150 );
151
152 =head1 PRIMARY KEY
153
154 =over 4
155
156 =item * L</id>
157
158 =back
159
160 =cut
161
162 __PACKAGE__->set_primary_key("id");
163
164
165 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
166 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:laD/JwzxzYnUhBABofprEA
167
168
169 # You can replace this text with custom content, and it will be preserved on regeneration
170 1;