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
101 =head2 report_subgroup
109 __PACKAGE__->add_columns(
111 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
113 { data_type => "integer", is_nullable => 1 },
116 data_type => "datetime",
117 datetime_undef_if_invalid => 1,
122 data_type => "datetime",
123 datetime_undef_if_invalid => 1,
127 { data_type => "text", is_nullable => 1 },
130 data_type => "datetime",
131 datetime_undef_if_invalid => 1,
135 { data_type => "varchar", is_nullable => 1, size => 255 },
137 { data_type => "varchar", is_nullable => 1, size => 255 },
139 { data_type => "text", is_nullable => 1 },
141 { data_type => "integer", default_value => 300, is_nullable => 0 },
143 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
145 { data_type => "varchar", is_nullable => 1, size => 6 },
147 { data_type => "varchar", is_nullable => 1, size => 80 },
149 { data_type => "varchar", is_nullable => 1, size => 80 },
162 __PACKAGE__->set_primary_key("id");
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
169 # You can replace this text with custom content, and it will be preserved on regeneration