| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MiscFile.pm |
| Statements | Executed 12 statements in 481µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 28µs | 32µs | Class::C3::Componentised::BEGIN@1.2038 |
| 1 | 1 | 1 | 11µs | 22µs | Koha::Schema::Result::MiscFile::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 92µs | Koha::Schema::Result::MiscFile::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::MiscFile::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 72µs | 2 | 35µs | # spent 32µs (28+4) within Class::C3::Componentised::BEGIN@1.2038 which was called:
# once (28µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 32µs making 1 call to Class::C3::Componentised::BEGIN@1.2038
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::MiscFile; | ||||
| 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::MiscFile | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 42µs | 2 | 34µs | # spent 22µs (11+11) within Koha::Schema::Result::MiscFile::BEGIN@13 which was called:
# once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 22µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@13
# spent 11µs making 1 call to strict::import |
| 14 | 2 | 40µs | 2 | 26µs | # spent 18µs (9+8) within Koha::Schema::Result::MiscFile::BEGIN@14 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@14
# spent 8µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 256µs | 2 | 173µs | # spent 92µs (10+82) within Koha::Schema::Result::MiscFile::BEGIN@16 which was called:
# once (10µs+82µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 92µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@16
# spent 82µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<misc_files> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 20µs | 1 | 343µs | __PACKAGE__->table("misc_files"); # spent 343µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 file_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 table_tag | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 255 | ||||
| 37 | |||||
| 38 | =head2 record_id | ||||
| 39 | |||||
| 40 | data_type: 'integer' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | |||||
| 43 | =head2 file_name | ||||
| 44 | |||||
| 45 | data_type: 'varchar' | ||||
| 46 | is_nullable: 0 | ||||
| 47 | size: 255 | ||||
| 48 | |||||
| 49 | =head2 file_type | ||||
| 50 | |||||
| 51 | data_type: 'varchar' | ||||
| 52 | is_nullable: 0 | ||||
| 53 | size: 255 | ||||
| 54 | |||||
| 55 | =head2 file_description | ||||
| 56 | |||||
| 57 | data_type: 'varchar' | ||||
| 58 | is_nullable: 1 | ||||
| 59 | size: 255 | ||||
| 60 | |||||
| 61 | =head2 file_content | ||||
| 62 | |||||
| 63 | data_type: 'longblob' | ||||
| 64 | is_nullable: 0 | ||||
| 65 | |||||
| 66 | =head2 date_uploaded | ||||
| 67 | |||||
| 68 | data_type: 'timestamp' | ||||
| 69 | datetime_undef_if_invalid: 1 | ||||
| 70 | default_value: current_timestamp | ||||
| 71 | is_nullable: 0 | ||||
| 72 | |||||
| 73 | =cut | ||||
| 74 | |||||
| 75 | 1 | 26µs | 1 | 1.40ms | __PACKAGE__->add_columns( # spent 1.40ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 76 | "file_id", | ||||
| 77 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 78 | "table_tag", | ||||
| 79 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 80 | "record_id", | ||||
| 81 | { data_type => "integer", is_nullable => 0 }, | ||||
| 82 | "file_name", | ||||
| 83 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 84 | "file_type", | ||||
| 85 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 86 | "file_description", | ||||
| 87 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 88 | "file_content", | ||||
| 89 | { data_type => "longblob", is_nullable => 0 }, | ||||
| 90 | "date_uploaded", | ||||
| 91 | { | ||||
| 92 | data_type => "timestamp", | ||||
| 93 | datetime_undef_if_invalid => 1, | ||||
| 94 | default_value => \"current_timestamp", | ||||
| 95 | is_nullable => 0, | ||||
| 96 | }, | ||||
| 97 | ); | ||||
| 98 | |||||
| 99 | =head1 PRIMARY KEY | ||||
| 100 | |||||
| 101 | =over 4 | ||||
| 102 | |||||
| 103 | =item * L</file_id> | ||||
| 104 | |||||
| 105 | =back | ||||
| 106 | |||||
| 107 | =cut | ||||
| 108 | |||||
| 109 | 1 | 17µs | 1 | 86µs | __PACKAGE__->set_primary_key("file_id"); # spent 86µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 110 | |||||
| 111 | |||||
| 112 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-25 21:17:02 | ||||
| 113 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VWGyKXxK0dqymMsEGCjJxg | ||||
| 114 | |||||
| 115 | |||||
| 116 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 117 | 1 | 10µs | 1; |