Bug 8798: DBIx::Class base classes for all Koha tables
[koha.git] / Koha / Schema / Result / SavedSql.pm
1 package Koha::Schema::Result::SavedSql;
2
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6 use strict;
7 use warnings;
8
9 use base 'DBIx::Class::Core';
10
11
12 =head1 NAME
13
14 Koha::Schema::Result::SavedSql
15
16 =cut
17
18 __PACKAGE__->table("saved_sql");
19
20 =head1 ACCESSORS
21
22 =head2 id
23
24   data_type: 'integer'
25   is_auto_increment: 1
26   is_nullable: 0
27
28 =head2 borrowernumber
29
30   data_type: 'integer'
31   is_nullable: 1
32
33 =head2 date_created
34
35   data_type: 'datetime'
36   is_nullable: 1
37
38 =head2 last_modified
39
40   data_type: 'datetime'
41   is_nullable: 1
42
43 =head2 savedsql
44
45   data_type: 'text'
46   is_nullable: 1
47
48 =head2 last_run
49
50   data_type: 'datetime'
51   is_nullable: 1
52
53 =head2 report_name
54
55   data_type: 'varchar'
56   is_nullable: 1
57   size: 255
58
59 =head2 type
60
61   data_type: 'varchar'
62   is_nullable: 1
63   size: 255
64
65 =head2 notes
66
67   data_type: 'text'
68   is_nullable: 1
69
70 =head2 cache_expiry
71
72   data_type: 'integer'
73   default_value: 300
74   is_nullable: 0
75
76 =head2 public
77
78   data_type: 'tinyint'
79   default_value: 0
80   is_nullable: 0
81
82 =head2 report_area
83
84   data_type: 'varchar'
85   is_nullable: 1
86   size: 6
87
88 =head2 report_group
89
90   data_type: 'varchar'
91   is_nullable: 1
92   size: 80
93
94 =head2 report_subgroup
95
96   data_type: 'varchar'
97   is_nullable: 1
98   size: 80
99
100 =cut
101
102 __PACKAGE__->add_columns(
103   "id",
104   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
105   "borrowernumber",
106   { data_type => "integer", is_nullable => 1 },
107   "date_created",
108   { data_type => "datetime", is_nullable => 1 },
109   "last_modified",
110   { data_type => "datetime", is_nullable => 1 },
111   "savedsql",
112   { data_type => "text", is_nullable => 1 },
113   "last_run",
114   { data_type => "datetime", is_nullable => 1 },
115   "report_name",
116   { data_type => "varchar", is_nullable => 1, size => 255 },
117   "type",
118   { data_type => "varchar", is_nullable => 1, size => 255 },
119   "notes",
120   { data_type => "text", is_nullable => 1 },
121   "cache_expiry",
122   { data_type => "integer", default_value => 300, is_nullable => 0 },
123   "public",
124   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
125   "report_area",
126   { data_type => "varchar", is_nullable => 1, size => 6 },
127   "report_group",
128   { data_type => "varchar", is_nullable => 1, size => 80 },
129   "report_subgroup",
130   { data_type => "varchar", is_nullable => 1, size => 80 },
131 );
132 __PACKAGE__->set_primary_key("id");
133
134
135 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
136 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1R30mLFqauqtbEo86gnInw
137
138
139 # You can replace this text with custom content, and it will be preserved on regeneration
140 1;