Bug 12478: update the schema
[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 =cut
66
67 __PACKAGE__->add_columns(
68   "action_id",
69   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
70   "timestamp",
71   {
72     data_type => "timestamp",
73     datetime_undef_if_invalid => 1,
74     default_value => \"current_timestamp",
75     is_nullable => 0,
76   },
77   "user",
78   { data_type => "integer", default_value => 0, is_nullable => 0 },
79   "module",
80   { data_type => "text", is_nullable => 1 },
81   "action",
82   { data_type => "text", is_nullable => 1 },
83   "object",
84   { data_type => "integer", is_nullable => 1 },
85   "info",
86   { data_type => "text", is_nullable => 1 },
87 );
88
89 =head1 PRIMARY KEY
90
91 =over 4
92
93 =item * L</action_id>
94
95 =back
96
97 =cut
98
99 __PACKAGE__->set_primary_key("action_id");
100
101
102 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
103 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KRt26bXGF2SqTrf5u8MSig
104
105
106 # You can replace this text with custom code or comments, and it will be preserved on regeneration
107 1;