Bug 16829: DBIx update
[koha.git] / Koha / Schema / Result / ActionLog.pm
blob5705404f68b41563068389e6bbbf3bc3516764d0
1 use utf8;
2 package Koha::Schema::Result::ActionLog;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::ActionLog
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<action_logs>
20 =cut
22 __PACKAGE__->table("action_logs");
24 =head1 ACCESSORS
26 =head2 action_id
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 timestamp
34 data_type: 'timestamp'
35 datetime_undef_if_invalid: 1
36 default_value: current_timestamp
37 is_nullable: 0
39 =head2 user
41 data_type: 'integer'
42 default_value: 0
43 is_nullable: 0
45 =head2 module
47 data_type: 'text'
48 is_nullable: 1
50 =head2 action
52 data_type: 'text'
53 is_nullable: 1
55 =head2 object
57 data_type: 'integer'
58 is_nullable: 1
60 =head2 info
62 data_type: 'text'
63 is_nullable: 1
65 =head2 interface
67 data_type: 'varchar'
68 is_nullable: 1
69 size: 30
71 =cut
73 __PACKAGE__->add_columns(
74 "action_id",
75 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
76 "timestamp",
78 data_type => "timestamp",
79 datetime_undef_if_invalid => 1,
80 default_value => \"current_timestamp",
81 is_nullable => 0,
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 },
97 =head1 PRIMARY KEY
99 =over 4
101 =item * L</action_id>
103 =back
105 =cut
107 __PACKAGE__->set_primary_key("action_id");
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
114 # You can replace this text with custom code or comments, and it will be preserved on regeneration