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
|
|
7093
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
101
|
|
7
|
4
|
|
|
4
|
|
22
|
|
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
95
|
|
8
|
|
|
|
|
|
|
use base 'DBIx::Class::Core'; |
9
|
4
|
|
|
4
|
|
19
|
|
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
848
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Bracket::Schema::Result::PlayerRole |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->table("player_role"); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 ACCESSORS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 player |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
data_type: INT |
24
|
|
|
|
|
|
|
default_value: 0 |
25
|
|
|
|
|
|
|
is_foreign_key: 1 |
26
|
|
|
|
|
|
|
is_nullable: 0 |
27
|
|
|
|
|
|
|
size: 11 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 role |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
data_type: INT |
32
|
|
|
|
|
|
|
default_value: 0 |
33
|
|
|
|
|
|
|
is_foreign_key: 1 |
34
|
|
|
|
|
|
|
is_nullable: 0 |
35
|
|
|
|
|
|
|
size: 11 |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
40
|
|
|
|
|
|
|
"player", |
41
|
|
|
|
|
|
|
{ |
42
|
|
|
|
|
|
|
data_type => "INT", |
43
|
|
|
|
|
|
|
default_value => 0, |
44
|
|
|
|
|
|
|
is_foreign_key => 1, |
45
|
|
|
|
|
|
|
is_nullable => 0, |
46
|
|
|
|
|
|
|
size => 11, |
47
|
|
|
|
|
|
|
}, |
48
|
|
|
|
|
|
|
"role", |
49
|
|
|
|
|
|
|
{ |
50
|
|
|
|
|
|
|
data_type => "INT", |
51
|
|
|
|
|
|
|
default_value => 0, |
52
|
|
|
|
|
|
|
is_foreign_key => 1, |
53
|
|
|
|
|
|
|
is_nullable => 0, |
54
|
|
|
|
|
|
|
size => 11, |
55
|
|
|
|
|
|
|
}, |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("player", "role"); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 RELATIONS |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 player |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Type: belongs_to |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::Player> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=cut |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
70
|
|
|
|
|
|
|
"player", |
71
|
|
|
|
|
|
|
"Bracket::Schema::Result::Player", |
72
|
|
|
|
|
|
|
{ id => "player" }, |
73
|
|
|
|
|
|
|
{}, |
74
|
|
|
|
|
|
|
); |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head2 role |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Type: belongs_to |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::Role> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
__PACKAGE__->belongs_to("role", "Bracket::Schema::Result::Role", { id => "role" }, {}); |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-02 09:36:49 |
88
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0lzcb/vzXr+kUZ0fJmnWkQ |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
1; |