Bug 11502: make library filter in "Holds To Pull" more precise
[koha.git] / Koha / Schema / Result / SearchHistory.pm
blob224d9f084777bcac815983ee663a356d8f55511a
1 use utf8;
2 package Koha::Schema::Result::SearchHistory;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::SearchHistory - Opac search history results
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<search_history>
20 =cut
22 __PACKAGE__->table("search_history");
24 =head1 ACCESSORS
26 =head2 userid
28 data_type: 'integer'
29 is_nullable: 0
31 =head2 sessionid
33 data_type: 'varchar'
34 is_nullable: 0
35 size: 32
37 =head2 query_desc
39 data_type: 'varchar'
40 is_nullable: 0
41 size: 255
43 =head2 query_cgi
45 data_type: 'text'
46 is_nullable: 0
48 =head2 total
50 data_type: 'integer'
51 is_nullable: 0
53 =head2 time
55 data_type: 'timestamp'
56 datetime_undef_if_invalid: 1
57 default_value: current_timestamp
58 is_nullable: 0
60 =cut
62 __PACKAGE__->add_columns(
63 "userid",
64 { data_type => "integer", is_nullable => 0 },
65 "sessionid",
66 { data_type => "varchar", is_nullable => 0, size => 32 },
67 "query_desc",
68 { data_type => "varchar", is_nullable => 0, size => 255 },
69 "query_cgi",
70 { data_type => "text", is_nullable => 0 },
71 "total",
72 { data_type => "integer", is_nullable => 0 },
73 "time",
75 data_type => "timestamp",
76 datetime_undef_if_invalid => 1,
77 default_value => \"current_timestamp",
78 is_nullable => 0,
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