| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MiscFile.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 70µs | 82µs | Class::C3::Componentised::BEGIN@1.2025 |
| 1 | 1 | 1 | 23µs | 37µs | Koha::Schema::Result::MiscFile::BEGIN@13 |
| 1 | 1 | 1 | 21µs | 157µs | Koha::Schema::Result::MiscFile::BEGIN@16 |
| 1 | 1 | 1 | 20µs | 31µs | Koha::Schema::Result::MiscFile::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 93µs | # spent 82µs (70+12) within Class::C3::Componentised::BEGIN@1.2025 which was called:
# once (70µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 82µs making 1 call to Class::C3::Componentised::BEGIN@1.2025
# spent 12µ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 | 51µs | # spent 37µs (23+14) within Koha::Schema::Result::MiscFile::BEGIN@13 which was called:
# once (23µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 37µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@13
# spent 14µs making 1 call to strict::import | ||
| 14 | 2 | 41µs | # spent 31µs (20+10) within Koha::Schema::Result::MiscFile::BEGIN@14 which was called:
# once (20µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 31µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@14
# spent 10µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 293µs | # spent 157µs (21+136) within Koha::Schema::Result::MiscFile::BEGIN@16 which was called:
# once (21µs+136µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 157µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@16
# spent 136µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<misc_files> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 390µs | __PACKAGE__->table("misc_files"); # spent 390µ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 | 1.57ms | __PACKAGE__->add_columns( # spent 1.57ms 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 | 85µs | __PACKAGE__->set_primary_key("file_id"); # spent 85µ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; |