2 package Koha::Schema::Result::Suggestion;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Suggestion
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<suggestions>
22 __PACKAGE__->table("suggestions");
41 datetime_undef_if_invalid: 1
52 datetime_undef_if_invalid: 1
63 datetime_undef_if_invalid: 1
74 datetime_undef_if_invalid: 1
80 default_value: (empty string)
86 data_type: 'mediumtext'
103 data_type: 'smallint'
114 data_type: 'timestamp'
115 datetime_undef_if_invalid: 1
116 default_value: current_timestamp
125 =head2 publicationyear
127 data_type: 'smallint'
143 =head2 mailoverseeing
145 data_type: 'smallint'
175 =head2 collectiontitle
188 data_type: 'smallint'
211 __PACKAGE__->add_columns(
213 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
215 { data_type => "integer", default_value => 0, is_nullable => 0 },
217 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
219 { data_type => "integer", is_nullable => 1 },
221 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
223 { data_type => "integer", is_nullable => 1 },
225 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
227 { data_type => "integer", is_nullable => 1 },
229 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
231 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
233 { data_type => "mediumtext", is_nullable => 1 },
235 { data_type => "varchar", is_nullable => 1, size => 80 },
237 { data_type => "varchar", is_nullable => 1, size => 255 },
239 { data_type => "smallint", is_nullable => 1 },
241 { data_type => "varchar", is_nullable => 1, size => 255 },
244 data_type => "timestamp",
245 datetime_undef_if_invalid => 1,
246 default_value => \"current_timestamp",
250 { data_type => "varchar", is_nullable => 1, size => 255 },
252 { data_type => "smallint", default_value => 0, is_nullable => 1 },
254 { data_type => "varchar", is_nullable => 1, size => 255 },
256 { data_type => "varchar", is_nullable => 1, size => 30 },
258 { data_type => "smallint", default_value => 0, is_nullable => 1 },
260 { data_type => "integer", is_nullable => 1 },
262 { data_type => "text", is_nullable => 1 },
264 { data_type => "text", is_nullable => 1 },
266 { data_type => "integer", is_nullable => 1 },
268 { data_type => "varchar", is_nullable => 1, size => 10 },
270 { data_type => "text", is_nullable => 1 },
272 { data_type => "varchar", is_nullable => 1, size => 30 },
274 { data_type => "smallint", is_nullable => 1 },
276 { data_type => "varchar", is_nullable => 1, size => 3 },
278 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
280 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
287 =item * L</suggestionid>
293 __PACKAGE__->set_primary_key("suggestionid");
296 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-13 01:10:43
297 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LJoqZVAeoZ0ra2BKxXRQMQ
300 # You can replace this text with custom content, and it will be preserved on regeneration