| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Message.pm |
| Statements | Executed 12 statements in 495µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 27µs | 30µs | Class::C3::Componentised::BEGIN@1.1137 |
| 1 | 1 | 1 | 10µs | 85µs | Koha::Schema::Result::Message::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 17µs | Koha::Schema::Result::Message::BEGIN@13 |
| 1 | 1 | 1 | 7µs | 14µs | Koha::Schema::Result::Message::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 68µs | 2 | 34µs | # spent 30µs (27+3) within Class::C3::Componentised::BEGIN@1.1137 which was called:
# once (27µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.1137
# spent 3µ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 | 2 | 25µs | # spent 17µs (9+8) within Koha::Schema::Result::Message::BEGIN@13 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 17µs making 1 call to Koha::Schema::Result::Message::BEGIN@13
# spent 8µs making 1 call to strict::import |
| 14 | 2 | 36µs | 2 | 22µs | # spent 14µs (7+7) within Koha::Schema::Result::Message::BEGIN@14 which was called:
# once (7µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 14µs making 1 call to Koha::Schema::Result::Message::BEGIN@14
# spent 7µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 275µs | 2 | 161µs | # spent 85µs (10+75) within Koha::Schema::Result::Message::BEGIN@16 which was called:
# once (10µs+75µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 85µs making 1 call to Koha::Schema::Result::Message::BEGIN@16
# spent 75µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<messages> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 29µs | 1 | 369µs | __PACKAGE__->table("messages"); # spent 369µ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 | 28µs | 1 | 2.15ms | __PACKAGE__->add_columns( # spent 2.15ms 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 | 16µs | 1 | 77µs | __PACKAGE__->set_primary_key("message_id"); # spent 77µ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 | 6µs | 1; |