Lines 1-90
Link Here
|
1 |
package Koha::Schema::Result::ActionLogs; |
|
|
2 |
|
3 |
# Created by DBIx::Class::Schema::Loader |
4 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
5 |
|
6 |
use strict; |
7 |
use warnings; |
8 |
|
9 |
use base 'DBIx::Class::Core'; |
10 |
|
11 |
|
12 |
=head1 NAME |
13 |
|
14 |
Koha::Schema::Result::ActionLogs |
15 |
|
16 |
=cut |
17 |
|
18 |
__PACKAGE__->table("action_logs"); |
19 |
|
20 |
=head1 ACCESSORS |
21 |
|
22 |
=head2 action_id |
23 |
|
24 |
data_type: 'integer' |
25 |
is_auto_increment: 1 |
26 |
is_nullable: 0 |
27 |
|
28 |
=head2 timestamp |
29 |
|
30 |
data_type: 'timestamp' |
31 |
default_value: current_timestamp |
32 |
is_nullable: 0 |
33 |
|
34 |
=head2 user |
35 |
|
36 |
data_type: 'integer' |
37 |
default_value: 0 |
38 |
is_nullable: 0 |
39 |
|
40 |
=head2 module |
41 |
|
42 |
data_type: 'text' |
43 |
is_nullable: 1 |
44 |
|
45 |
=head2 action |
46 |
|
47 |
data_type: 'text' |
48 |
is_nullable: 1 |
49 |
|
50 |
=head2 object |
51 |
|
52 |
data_type: 'integer' |
53 |
is_nullable: 1 |
54 |
|
55 |
=head2 info |
56 |
|
57 |
data_type: 'text' |
58 |
is_nullable: 1 |
59 |
|
60 |
=cut |
61 |
|
62 |
__PACKAGE__->add_columns( |
63 |
"action_id", |
64 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
65 |
"timestamp", |
66 |
{ |
67 |
data_type => "timestamp", |
68 |
default_value => \"current_timestamp", |
69 |
is_nullable => 0, |
70 |
}, |
71 |
"user", |
72 |
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
73 |
"module", |
74 |
{ data_type => "text", is_nullable => 1 }, |
75 |
"action", |
76 |
{ data_type => "text", is_nullable => 1 }, |
77 |
"object", |
78 |
{ data_type => "integer", is_nullable => 1 }, |
79 |
"info", |
80 |
{ data_type => "text", is_nullable => 1 }, |
81 |
); |
82 |
__PACKAGE__->set_primary_key("action_id"); |
83 |
|
84 |
|
85 |
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15 |
86 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9VN0SGNBYM/thO7QzQB4Bg |
87 |
|
88 |
|
89 |
# You can replace this text with custom content, and it will be preserved on regeneration |
90 |
1; |
91 |
- |