| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Message.pm |
| Statements | Executed 12 statements in 517µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 38µs | 43µs | Class::C3::Componentised::BEGIN@1.2425 |
| 1 | 1 | 1 | 12µs | 125µs | Koha::Schema::Result::Message::BEGIN@16 |
| 1 | 1 | 1 | 11µs | 23µs | Koha::Schema::Result::Message::BEGIN@13 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::Message::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 95µs | 2 | 47µs | # spent 43µs (38+5) within Class::C3::Componentised::BEGIN@1.2425 which was called:
# once (38µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 43µs making 1 call to Class::C3::Componentised::BEGIN@1.2425
# spent 4µ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 | 43µs | 2 | 35µs | # spent 23µs (11+12) within Koha::Schema::Result::Message::BEGIN@13 which was called:
# once (11µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 23µs making 1 call to Koha::Schema::Result::Message::BEGIN@13
# spent 12µs making 1 call to strict::import |
| 14 | 2 | 42µs | 2 | 27µs | # spent 18µs (9+9) within Koha::Schema::Result::Message::BEGIN@14 which was called:
# once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::Message::BEGIN@14
# spent 9µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 262µs | 2 | 239µs | # spent 125µs (12+114) within Koha::Schema::Result::Message::BEGIN@16 which was called:
# once (12µs+114µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 125µs making 1 call to Koha::Schema::Result::Message::BEGIN@16
# spent 114µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<messages> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 22µs | 1 | 330µs | __PACKAGE__->table("messages"); # spent 330µ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 | 24µs | 1 | 2.45ms | __PACKAGE__->add_columns( # spent 2.45ms 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 | 19µs | 1 | 86µs | __PACKAGE__->set_primary_key("message_id"); # spent 86µ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 | 10µs | 1; |