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");
57 default_value: 'biblio'
68 data_type: 'timestamp'
69 datetime_undef_if_invalid: 1
70 default_value: current_timestamp
75 __PACKAGE__->add_columns(
77 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
79 { data_type => "integer", is_nullable => 0 },
81 { data_type => "varchar", is_nullable => 0, size => 32 },
83 { data_type => "varchar", is_nullable => 0, size => 255 },
85 { data_type => "text", is_nullable => 0 },
88 data_type => "varchar",
89 default_value => "biblio",
94 { data_type => "integer", is_nullable => 0 },
97 data_type => "timestamp",
98 datetime_undef_if_invalid => 1,
99 default_value => \"current_timestamp",
114 __PACKAGE__->set_primary_key("id");
117 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-03-11 14:59:09
118 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IDEfmaznxc6sCi0r/8ibhg
121 # You can replace this text with custom content, and it will be preserved on regeneration