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