line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1250
|
use utf8; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Interchange6::Schema::Result::ProductAttributeValue; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Interchange6::Schema::Result::ProductAttributeValue |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
94
|
use Interchange6::Schema::Candy; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
14
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 ACCESSORS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head2 product_attribute_values_id |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Primary key. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
primary_column product_attribute_values_id => |
22
|
|
|
|
|
|
|
{ data_type => "integer", is_auto_increment => 1 }; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 product_attributes_id |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
FK on L<Interchange6::Schema::Result::ProductAttribute/product_attributes_id>. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
column product_attributes_id => |
31
|
|
|
|
|
|
|
{ data_type => "integer" }; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head2 attribute_values_id |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
FK on L<Interchange6::Schema::Result::AttributeValue/attribute_values_id>. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
column attribute_values_id => |
40
|
|
|
|
|
|
|
{ data_type => "integer" }; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 RELATIONS |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 product_attribute |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Type: belongs_to |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::ProductAttribute> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
belongs_to |
53
|
|
|
|
|
|
|
product_attribute => "Interchange6::Schema::Result::ProductAttribute", |
54
|
|
|
|
|
|
|
"product_attributes_id", |
55
|
|
|
|
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 attribute_value |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Type: belongs_to |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::AttributeValue> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
belongs_to |
66
|
|
|
|
|
|
|
attribute_value => "Interchange6::Schema::Result::AttributeValue", |
67
|
|
|
|
|
|
|
"attribute_values_id", |
68
|
|
|
|
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
1; |