Bug 2969: Update DBIx
[koha-equinox.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   default_value: (empty string)
64   is_nullable: 0
65   size: 255
66
67 =head2 type
68
69   data_type: 'varchar'
70   is_nullable: 1
71   size: 255
72
73 =head2 notes
74
75   data_type: 'text'
76   is_nullable: 1
77
78 =head2 cache_expiry
79
80   data_type: 'integer'
81   default_value: 300
82   is_nullable: 0
83
84 =head2 public
85
86   data_type: 'tinyint'
87   default_value: 0
88   is_nullable: 0
89
90 =head2 report_area
91
92   data_type: 'varchar'
93   is_nullable: 1
94   size: 6
95
96 =head2 report_group
97
98   data_type: 'varchar'
99   is_nullable: 1
100   size: 80
101
102 =head2 report_subgroup
103
104   data_type: 'varchar'
105   is_nullable: 1
106   size: 80
107
108 =cut
109
110 __PACKAGE__->add_columns(
111   "id",
112   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
113   "borrowernumber",
114   { data_type => "integer", is_nullable => 1 },
115   "date_created",
116   {
117     data_type => "datetime",
118     datetime_undef_if_invalid => 1,
119     is_nullable => 1,
120   },
121   "last_modified",
122   {
123     data_type => "datetime",
124     datetime_undef_if_invalid => 1,
125     is_nullable => 1,
126   },
127   "savedsql",
128   { data_type => "text", is_nullable => 1 },
129   "last_run",
130   {
131     data_type => "datetime",
132     datetime_undef_if_invalid => 1,
133     is_nullable => 1,
134   },
135   "report_name",
136   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
137   "type",
138   { data_type => "varchar", is_nullable => 1, size => 255 },
139   "notes",
140   { data_type => "text", is_nullable => 1 },
141   "cache_expiry",
142   { data_type => "integer", default_value => 300, is_nullable => 0 },
143   "public",
144   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
145   "report_area",
146   { data_type => "varchar", is_nullable => 1, size => 6 },
147   "report_group",
148   { data_type => "varchar", is_nullable => 1, size => 80 },
149   "report_subgroup",
150   { data_type => "varchar", is_nullable => 1, size => 80 },
151 );
152
153 =head1 PRIMARY KEY
154
155 =over 4
156
157 =item * L</id>
158
159 =back
160
161 =cut
162
163 __PACKAGE__->set_primary_key("id");
164
165
166 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16
167 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eGWRRzpe1+EBialePAIhMQ
168
169
170 # You can replace this text with custom content, and it will be preserved on regeneration
171 1;