Bug 8798: (follow-up) update the DBIC schema class files
[koha_ffzg] / Koha / Schema / Result / SearchHistory.pm
1 use utf8;
2 package Koha::Schema::Result::SearchHistory;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::SearchHistory - Opac search history results
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<search_history>
19
20 =cut
21
22 __PACKAGE__->table("search_history");
23
24 =head1 ACCESSORS
25
26 =head2 userid
27
28   data_type: 'integer'
29   is_nullable: 0
30
31 =head2 sessionid
32
33   data_type: 'varchar'
34   is_nullable: 0
35   size: 32
36
37 =head2 query_desc
38
39   data_type: 'varchar'
40   is_nullable: 0
41   size: 255
42
43 =head2 query_cgi
44
45   data_type: 'text'
46   is_nullable: 0
47
48 =head2 total
49
50   data_type: 'integer'
51   is_nullable: 0
52
53 =head2 time
54
55   data_type: 'timestamp'
56   datetime_undef_if_invalid: 1
57   default_value: current_timestamp
58   is_nullable: 0
59
60 =cut
61
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",
74   {
75     data_type => "timestamp",
76     datetime_undef_if_invalid => 1,
77     default_value => \"current_timestamp",
78     is_nullable => 0,
79   },
80 );
81
82
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
85
86
87 # You can replace this text with custom content, and it will be preserved on regeneration
88 1;