lib/Bracket/Schema/Result/Token.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Bracket/Schema/Result/Team.pm ↑ Summary lib/Bracket/View/TT.pm »
1 package Bracket::Schema::Result::Token;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 4 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 =head1 NAME
13  
14 Bracket::Schema::Result::Token
15  
16 =cut
17  
18 4 __PACKAGE__->table("token");
19  
20 =head1 ACCESSORS
21  
22 =head2 player
23  
24 data_type: INT
25 default_value: undef
26 is_foreign_key: 1
27 is_nullable: 0
28 size: 11
29  
30 =head2 token
31  
32 data_type: VARCHAR
33 default_value: undef
34 is_nullable: 0
35 size: 64
36  
37 =head2 type
38  
39 data_type: VARCHAR
40 default_value: undef
41 is_nullable: 0
42 size: 64
43  
44 =cut
45  
46 4 __PACKAGE__->add_columns(
47 "player",
48 {
49 data_type => "INT",
50 default_value => undef,
51 is_foreign_key => 1,
52 is_nullable => 0,
53 size => 11,
54 },
55 "token",
56 {
57 data_type => "VARCHAR",
58 default_value => undef,
59 is_nullable => 0,
60 size => 64,
61 },
62 "type",
63 {
64 data_type => "VARCHAR",
65 default_value => undef,
66 is_nullable => 0,
67 size => 64,
68 },
69 );
70 4 __PACKAGE__->set_primary_key("token", "player");
71  
72 =head1 RELATIONS
73  
74 =head2 player
75  
76 Type: belongs_to
77  
78 Related object: L<Bracket::Schema::Result::Player>
79  
80 =cut
81  
82 4 __PACKAGE__->belongs_to(
83 "player",
84 "Bracket::Schema::Result::Player",
85 { id => "player" },
86 {},
87 );
88  
89  
90 # Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-02 17:10:27
91 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hFFgfGDEUtR7ndqRU61GPQ
92  
93  
94 # You can replace this text with custom content, and it will be preserved on regeneration
95 4 1;
« lib/Bracket/Schema/Result/Team.pm ↑ Summary lib/Bracket/View/TT.pm »