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
|
|
1654
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
101
|
|
7
|
4
|
|
|
4
|
|
16
|
|
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
96
|
|
8
|
|
|
|
|
|
|
use base 'DBIx::Class::Core'; |
9
|
4
|
|
|
4
|
|
14
|
|
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
723
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Bracket::Schema::Result::Role |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->table("role"); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 ACCESSORS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 id |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
data_type: INT |
24
|
|
|
|
|
|
|
default_value: undef |
25
|
|
|
|
|
|
|
is_auto_increment: 1 |
26
|
|
|
|
|
|
|
is_nullable: 0 |
27
|
|
|
|
|
|
|
size: 11 |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 role |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
data_type: VARCHAR |
32
|
|
|
|
|
|
|
default_value: undef |
33
|
|
|
|
|
|
|
is_nullable: 1 |
34
|
|
|
|
|
|
|
size: 32 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=cut |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
39
|
|
|
|
|
|
|
"id", |
40
|
|
|
|
|
|
|
{ |
41
|
|
|
|
|
|
|
data_type => "INT", |
42
|
|
|
|
|
|
|
default_value => undef, |
43
|
|
|
|
|
|
|
is_auto_increment => 1, |
44
|
|
|
|
|
|
|
is_nullable => 0, |
45
|
|
|
|
|
|
|
size => 11, |
46
|
|
|
|
|
|
|
}, |
47
|
|
|
|
|
|
|
"role", |
48
|
|
|
|
|
|
|
{ |
49
|
|
|
|
|
|
|
data_type => "VARCHAR", |
50
|
|
|
|
|
|
|
default_value => undef, |
51
|
|
|
|
|
|
|
is_nullable => 1, |
52
|
|
|
|
|
|
|
size => 32, |
53
|
|
|
|
|
|
|
}, |
54
|
|
|
|
|
|
|
); |
55
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("id"); |
56
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("role_name_UNIQ", ["role"]); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 RELATIONS |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 player_roles |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Type: has_many |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Related object: L<Bracket::Schema::Result::PlayerRole> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=cut |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
69
|
|
|
|
|
|
|
"player_roles", |
70
|
|
|
|
|
|
|
"Bracket::Schema::Result::PlayerRole", |
71
|
|
|
|
|
|
|
{ "foreign.role" => "self.id" }, |
72
|
|
|
|
|
|
|
); |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-17 12:15:08 |
76
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wtNPV2NOLB6IEKVJm0rsTw |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
# You can replace this text with custom content, and it will be preserved on regeneration |
80
|
|
|
|
|
|
|
1; |