Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Message.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 45µs | 51µs | BEGIN@1.2712 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 24µs | BEGIN@13 | Koha::Schema::Result::Message::
1 | 1 | 1 | 11µs | 89µs | BEGIN@16 | Koha::Schema::Result::Message::
1 | 1 | 1 | 10µs | 19µs | BEGIN@14 | Koha::Schema::Result::Message::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 57µs | # spent 51µs (45+6) within Class::C3::Componentised::BEGIN@1.2712 which was called:
# once (45µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 51µs making 1 call to Class::C3::Componentised::BEGIN@1.2712
# spent 6µs making 1 call to utf8::import | ||
2 | package Koha::Schema::Result::Message; | ||||
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::Message | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 36µs | # spent 24µs (12+12) within Koha::Schema::Result::Message::BEGIN@13 which was called:
# once (12µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 24µs making 1 call to Koha::Schema::Result::Message::BEGIN@13
# spent 12µs making 1 call to strict::import | ||
14 | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::Message::BEGIN@14 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 19µs making 1 call to Koha::Schema::Result::Message::BEGIN@14
# spent 9µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 168µs | # spent 89µs (11+79) within Koha::Schema::Result::Message::BEGIN@16 which was called:
# once (11µs+79µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 89µs making 1 call to Koha::Schema::Result::Message::BEGIN@16
# spent 79µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<messages> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 335µs | __PACKAGE__->table("messages"); # spent 335µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 message_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 borrowernumber | ||||
33 | |||||
34 | data_type: 'integer' | ||||
35 | is_nullable: 0 | ||||
36 | |||||
37 | =head2 branchcode | ||||
38 | |||||
39 | data_type: 'varchar' | ||||
40 | is_nullable: 1 | ||||
41 | size: 10 | ||||
42 | |||||
43 | =head2 message_type | ||||
44 | |||||
45 | data_type: 'varchar' | ||||
46 | is_nullable: 0 | ||||
47 | size: 1 | ||||
48 | |||||
49 | =head2 message | ||||
50 | |||||
51 | data_type: 'text' | ||||
52 | is_nullable: 0 | ||||
53 | |||||
54 | =head2 message_date | ||||
55 | |||||
56 | data_type: 'timestamp' | ||||
57 | datetime_undef_if_invalid: 1 | ||||
58 | default_value: current_timestamp | ||||
59 | is_nullable: 0 | ||||
60 | |||||
61 | =cut | ||||
62 | |||||
63 | 1 | 7.58ms | __PACKAGE__->add_columns( # spent 7.58ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
64 | "message_id", | ||||
65 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
66 | "borrowernumber", | ||||
67 | { data_type => "integer", is_nullable => 0 }, | ||||
68 | "branchcode", | ||||
69 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
70 | "message_type", | ||||
71 | { data_type => "varchar", is_nullable => 0, size => 1 }, | ||||
72 | "message", | ||||
73 | { data_type => "text", is_nullable => 0 }, | ||||
74 | "message_date", | ||||
75 | { | ||||
76 | data_type => "timestamp", | ||||
77 | datetime_undef_if_invalid => 1, | ||||
78 | default_value => \"current_timestamp", | ||||
79 | is_nullable => 0, | ||||
80 | }, | ||||
81 | ); | ||||
82 | |||||
83 | =head1 PRIMARY KEY | ||||
84 | |||||
85 | =over 4 | ||||
86 | |||||
87 | =item * L</message_id> | ||||
88 | |||||
89 | =back | ||||
90 | |||||
91 | =cut | ||||
92 | |||||
93 | 1 | 90µs | __PACKAGE__->set_primary_key("message_id"); # spent 90µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
94 | |||||
95 | |||||
96 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
97 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iq+Uo9eMnkDgUQsRR6VFUA | ||||
98 | |||||
99 | |||||
100 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
101 | 1; |