| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader |
|
3
|
|
|
|
|
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use strict; |
|
6
|
4
|
|
|
4
|
|
6581
|
use warnings; |
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
105
|
|
|
7
|
4
|
|
|
4
|
|
17
|
|
|
|
4
|
|
|
|
|
8
|
|
|
|
4
|
|
|
|
|
94
|
|
|
8
|
|
|
|
|
|
|
use base 'DBIx::Class::Core'; |
|
9
|
4
|
|
|
4
|
|
17
|
|
|
|
4
|
|
|
|
|
9
|
|
|
|
4
|
|
|
|
|
1308
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Bracket::Schema::Result::Region |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->table("region"); |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 ACCESSORS |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 id |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
data_type: INT |
|
24
|
|
|
|
|
|
|
default_value: undef |
|
25
|
|
|
|
|
|
|
is_nullable: 0 |
|
26
|
|
|
|
|
|
|
size: 11 |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head2 name |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
data_type: VARCHAR |
|
31
|
|
|
|
|
|
|
default_value: undef |
|
32
|
|
|
|
|
|
|
is_nullable: 0 |
|
33
|
|
|
|
|
|
|
size: 16 |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
|
38
|
|
|
|
|
|
|
"id", |
|
39
|
|
|
|
|
|
|
{ data_type => "INT", default_value => undef, is_nullable => 0, size => 11 }, |
|
40
|
|
|
|
|
|
|
"name", |
|
41
|
|
|
|
|
|
|
{ |
|
42
|
|
|
|
|
|
|
data_type => "VARCHAR", |
|
43
|
|
|
|
|
|
|
default_value => undef, |
|
44
|
|
|
|
|
|
|
is_nullable => 0, |
|
45
|
|
|
|
|
|
|
size => 16, |
|
46
|
|
|
|
|
|
|
}, |
|
47
|
|
|
|
|
|
|
); |
|
48
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("id"); |
|
49
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("name", ["name"]); |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 RELATIONS |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 region_scores |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Type: has_many |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::RegionScore> |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
|
62
|
|
|
|
|
|
|
"region_scores", |
|
63
|
|
|
|
|
|
|
"Bracket::Schema::Result::RegionScore", |
|
64
|
|
|
|
|
|
|
{ "foreign.region" => "self.id" }, |
|
65
|
|
|
|
|
|
|
); |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 teams |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Type: has_many |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::Team> |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=cut |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
|
76
|
|
|
|
|
|
|
"teams", |
|
77
|
|
|
|
|
|
|
"Bracket::Schema::Result::Team", |
|
78
|
|
|
|
|
|
|
{ "foreign.region" => "self.id" }, |
|
79
|
|
|
|
|
|
|
); |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-02 09:36:49 |
|
83
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZvJypnGpz1chQKLdGt/Gyg |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
|
87
|
|
|
|
|
|
|
1; |