2 package Koha::Schema::Result::SearchHistory;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::SearchHistory - Opac search history results
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<search_history>
22 __PACKAGE__->table("search_history");
55 data_type: 'timestamp'
56 datetime_undef_if_invalid: 1
57 default_value: current_timestamp
62 __PACKAGE__->add_columns(
64 { data_type => "integer", is_nullable => 0 },
66 { data_type => "varchar", is_nullable => 0, size => 32 },
68 { data_type => "varchar", is_nullable => 0, size => 255 },
70 { data_type => "text", is_nullable => 0 },
72 { data_type => "integer", is_nullable => 0 },
75 data_type => "timestamp",
76 datetime_undef_if_invalid => 1,
77 default_value => \"current_timestamp",
83 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
84 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HLDQ0HfcjBkl6y1rXoX0qA
87 # You can replace this text with custom content, and it will be preserved on regeneration