line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1165
|
use utf8; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
17
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Interchange6::Schema::Result::ZoneState; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Interchange6::Schema::Result::ZoneState |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
103
|
use Interchange6::Schema::Candy; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
14
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 ACCESSORS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head2 zones_id |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
FK on L<Interchange6::Schema::Result::Zone/zones_id>, |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
column zones_id => |
22
|
|
|
|
|
|
|
{ data_type => "integer" }; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 states_id |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
FK on L<Interchange6::Schema::Result::Zone/states_id>, |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
column states_id => |
31
|
|
|
|
|
|
|
{ data_type => "integer" }; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 PRIMARY KEY |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=over 4 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item * L</zones_id> |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=item * L</states_id> |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=back |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=cut |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
primary_key "zones_id", "states_id"; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 RELATIONS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 zone |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Type: belongs_to |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::Zone> |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
belongs_to |
58
|
|
|
|
|
|
|
zone => "Interchange6::Schema::Result::Zone", |
59
|
|
|
|
|
|
|
"zones_id", |
60
|
|
|
|
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 state |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Type: belongs_to |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::State> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=cut |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
belongs_to |
71
|
|
|
|
|
|
|
state => "Interchange6::Schema::Result::State", |
72
|
|
|
|
|
|
|
"states_id", |
73
|
|
|
|
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }; |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
1; |