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 | 27µs | 31µs | BEGIN@1.599 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 21µs | BEGIN@13 | Koha::Schema::Result::MiscFile::
1 | 1 | 1 | 10µs | 81µs | BEGIN@16 | Koha::Schema::Result::MiscFile::
1 | 1 | 1 | 10µs | 17µs | BEGIN@14 | Koha::Schema::Result::MiscFile::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 36µs | # spent 31µs (27+4) within Class::C3::Componentised::BEGIN@1.599 which was called:
# once (27µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 31µs making 1 call to Class::C3::Componentised::BEGIN@1.599
# 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 | 31µs | # spent 21µs (11+10) within Koha::Schema::Result::MiscFile::BEGIN@13 which was called:
# once (11µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@13
# spent 10µs making 1 call to strict::import | ||
14 | 2 | 25µs | # spent 17µs (10+8) within Koha::Schema::Result::MiscFile::BEGIN@14 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@14
# spent 8µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 152µs | # spent 81µs (10+71) within Koha::Schema::Result::MiscFile::BEGIN@16 which was called:
# once (10µs+71µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 81µs making 1 call to Koha::Schema::Result::MiscFile::BEGIN@16
# spent 71µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<misc_files> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 313µs | __PACKAGE__->table("misc_files"); # spent 313µ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 | 3.35ms | __PACKAGE__->add_columns( # spent 3.35ms 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 | 79µs | __PACKAGE__->set_primary_key("file_id"); # spent 79µ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; |