Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ActionLog.pm |
Statements | Executed 12 statements in 590µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 80µs | 92µs | BEGIN@1.2673 | Class::C3::Componentised::
1 | 1 | 1 | 26µs | 41µs | BEGIN@13 | Koha::Schema::Result::ActionLog::
1 | 1 | 1 | 18µs | 100µs | BEGIN@16 | Koha::Schema::Result::ActionLog::
1 | 1 | 1 | 18µs | 30µs | BEGIN@14 | Koha::Schema::Result::ActionLog::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 139µs | 2 | 104µs | # spent 92µs (80+12) within Class::C3::Componentised::BEGIN@1.2673 which was called:
# once (80µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 92µs making 1 call to Class::C3::Componentised::BEGIN@1.2673
# spent 12µs making 1 call to utf8::import |
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 | 2 | 66µs | 2 | 57µs | # spent 41µs (26+15) within Koha::Schema::Result::ActionLog::BEGIN@13 which was called:
# once (26µs+15µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 41µs making 1 call to Koha::Schema::Result::ActionLog::BEGIN@13
# spent 15µs making 1 call to strict::import |
14 | 2 | 57µs | 2 | 41µs | # spent 30µs (18+11) within Koha::Schema::Result::ActionLog::BEGIN@14 which was called:
# once (18µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 30µs making 1 call to Koha::Schema::Result::ActionLog::BEGIN@14
# spent 11µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 251µs | 2 | 182µs | # spent 100µs (18+82) within Koha::Schema::Result::ActionLog::BEGIN@16 which was called:
# once (18µs+82µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 100µs making 1 call to Koha::Schema::Result::ActionLog::BEGIN@16
# spent 82µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<action_logs> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 22µs | 1 | 327µs | __PACKAGE__->table("action_logs"); # spent 327µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
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 | 1 | 23µs | 1 | 656µs | __PACKAGE__->add_columns( # spent 656µs making 1 call to DBIx::Class::ResultSourceProxy::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 | 1 | 23µs | 1 | 107µs | __PACKAGE__->set_primary_key("action_id"); # spent 107µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
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 | 8µs | 1; |