Bug 18884: Advanced search on staff client, Availability limit not properly limiting
[koha.git] / Koha / Schema / Result / ActionLog.pm
1 use utf8;
2 package Koha::Schema::Result::ActionLog;
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::ActionLog
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<action_logs>
19
20 =cut
21
22 __PACKAGE__->table("action_logs");
23
24 =head1 ACCESSORS
25
26 =head2 action_id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 timestamp
33
34   data_type: 'timestamp'
35   datetime_undef_if_invalid: 1
36   default_value: current_timestamp
37   is_nullable: 0
38
39 =head2 user
40
41   data_type: 'integer'
42   default_value: 0
43   is_nullable: 0
44
45 =head2 module
46
47   data_type: 'text'
48   is_nullable: 1
49
50 =head2 action
51
52   data_type: 'text'
53   is_nullable: 1
54
55 =head2 object
56
57   data_type: 'integer'
58   is_nullable: 1
59
60 =head2 info
61
62   data_type: 'text'
63   is_nullable: 1
64
65 =head2 interface
66
67   data_type: 'varchar'
68   is_nullable: 1
69   size: 30
70
71 =cut
72
73 __PACKAGE__->add_columns(
74   "action_id",
75   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
76   "timestamp",
77   {
78     data_type => "timestamp",
79     datetime_undef_if_invalid => 1,
80     default_value => \"current_timestamp",
81     is_nullable => 0,
82   },
83   "user",
84   { data_type => "integer", default_value => 0, is_nullable => 0 },
85   "module",
86   { data_type => "text", is_nullable => 1 },
87   "action",
88   { data_type => "text", is_nullable => 1 },
89   "object",
90   { data_type => "integer", is_nullable => 1 },
91   "info",
92   { data_type => "text", is_nullable => 1 },
93   "interface",
94   { data_type => "varchar", is_nullable => 1, size => 30 },
95 );
96
97 =head1 PRIMARY KEY
98
99 =over 4
100
101 =item * L</action_id>
102
103 =back
104
105 =cut
106
107 __PACKAGE__->set_primary_key("action_id");
108
109
110 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-06-25 13:10:24
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wmjd736WUdPfIn581rXTzw
112
113
114 # You can replace this text with custom code or comments, and it will be preserved on regeneration
115 1;