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
|
|
7100
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
102
|
|
7
|
4
|
|
|
4
|
|
19
|
|
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
90
|
|
8
|
|
|
|
|
|
|
use base 'DBIx::Class::Core'; |
9
|
4
|
|
|
4
|
|
17
|
|
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
1059
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Bracket::Schema::Result::Team |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->table("team"); |
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 seed |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
data_type: TINYINT |
31
|
|
|
|
|
|
|
default_value: undef |
32
|
|
|
|
|
|
|
extra: HASH(0x249d388) |
33
|
|
|
|
|
|
|
is_nullable: 0 |
34
|
|
|
|
|
|
|
size: 3 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head2 name |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
data_type: VARCHAR |
39
|
|
|
|
|
|
|
default_value: undef |
40
|
|
|
|
|
|
|
is_nullable: 0 |
41
|
|
|
|
|
|
|
size: 32 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 region |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
data_type: INT |
46
|
|
|
|
|
|
|
default_value: undef |
47
|
|
|
|
|
|
|
is_foreign_key: 1 |
48
|
|
|
|
|
|
|
is_nullable: 0 |
49
|
|
|
|
|
|
|
size: 11 |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 round_out |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
data_type: TINYINT |
54
|
|
|
|
|
|
|
default_value: 7 |
55
|
|
|
|
|
|
|
is_nullable: 0 |
56
|
|
|
|
|
|
|
size: 4 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
61
|
|
|
|
|
|
|
"id", |
62
|
|
|
|
|
|
|
{ data_type => "INT", default_value => undef, is_nullable => 0, size => 11 }, |
63
|
|
|
|
|
|
|
"seed", |
64
|
|
|
|
|
|
|
{ |
65
|
|
|
|
|
|
|
data_type => "TINYINT", |
66
|
|
|
|
|
|
|
default_value => undef, |
67
|
|
|
|
|
|
|
extra => { unsigned => 1 }, |
68
|
|
|
|
|
|
|
is_nullable => 0, |
69
|
|
|
|
|
|
|
size => 3, |
70
|
|
|
|
|
|
|
}, |
71
|
|
|
|
|
|
|
"name", |
72
|
|
|
|
|
|
|
{ |
73
|
|
|
|
|
|
|
data_type => "VARCHAR", |
74
|
|
|
|
|
|
|
default_value => undef, |
75
|
|
|
|
|
|
|
is_nullable => 0, |
76
|
|
|
|
|
|
|
size => 32, |
77
|
|
|
|
|
|
|
}, |
78
|
|
|
|
|
|
|
"region", |
79
|
|
|
|
|
|
|
{ |
80
|
|
|
|
|
|
|
data_type => "INT", |
81
|
|
|
|
|
|
|
default_value => undef, |
82
|
|
|
|
|
|
|
is_foreign_key => 1, |
83
|
|
|
|
|
|
|
is_nullable => 0, |
84
|
|
|
|
|
|
|
size => 11, |
85
|
|
|
|
|
|
|
}, |
86
|
|
|
|
|
|
|
"round_out", |
87
|
|
|
|
|
|
|
{ data_type => "TINYINT", default_value => 7, is_nullable => 0, size => 4 }, |
88
|
|
|
|
|
|
|
); |
89
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("id"); |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 RELATIONS |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 games |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Type: has_many |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::Game> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=cut |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
102
|
|
|
|
|
|
|
"games", |
103
|
|
|
|
|
|
|
"Bracket::Schema::Result::Game", |
104
|
|
|
|
|
|
|
{ "foreign.winner" => "self.id" }, |
105
|
|
|
|
|
|
|
); |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 picks |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Type: has_many |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::Pick> |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
116
|
|
|
|
|
|
|
"picks", |
117
|
|
|
|
|
|
|
"Bracket::Schema::Result::Pick", |
118
|
|
|
|
|
|
|
{ "foreign.pick" => "self.id" }, |
119
|
|
|
|
|
|
|
); |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 region |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Type: belongs_to |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::Region> |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=cut |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
130
|
|
|
|
|
|
|
"region", |
131
|
|
|
|
|
|
|
"Bracket::Schema::Result::Region", |
132
|
|
|
|
|
|
|
{ id => "region" }, |
133
|
|
|
|
|
|
|
{}, |
134
|
|
|
|
|
|
|
); |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-17 12:15:08 |
138
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uFLHHEtHCDiKQkJf0XTrNg |
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
142
|
|
|
|
|
|
|
1; |