2 package Koha::Schema::Result::SavedSql;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::SavedSql
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<saved_sql>
22 __PACKAGE__->table("saved_sql");
40 datetime_undef_if_invalid: 1
46 datetime_undef_if_invalid: 1
57 datetime_undef_if_invalid: 1
63 default_value: (empty string)
102 =head2 report_subgroup
110 __PACKAGE__->add_columns(
112 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
114 { data_type => "integer", is_nullable => 1 },
117 data_type => "datetime",
118 datetime_undef_if_invalid => 1,
123 data_type => "datetime",
124 datetime_undef_if_invalid => 1,
128 { data_type => "text", is_nullable => 1 },
131 data_type => "datetime",
132 datetime_undef_if_invalid => 1,
136 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
138 { data_type => "varchar", is_nullable => 1, size => 255 },
140 { data_type => "text", is_nullable => 1 },
142 { data_type => "integer", default_value => 300, is_nullable => 0 },
144 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
146 { data_type => "varchar", is_nullable => 1, size => 6 },
148 { data_type => "varchar", is_nullable => 1, size => 80 },
150 { data_type => "varchar", is_nullable => 1, size => 80 },
163 __PACKAGE__->set_primary_key("id");
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
170 # You can replace this text with custom content, and it will be preserved on regeneration