blib/lib/RackTables/Schema/Result/Config.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/RackTables/Schema/Result/Chapter.pm ↑ Summary blib/lib/RackTables/Schema/Result/Dictionary.pm »
1 package RackTables::Schema::Result::Config;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use MooseX::NonMoose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 extends 'DBIx::Class::Core';
13  
14  
15 =head1 NAME
16  
17 RackTables::Schema::Result::Config
18  
19 =cut
20  
21 1 __PACKAGE__->table("Config");
22  
23 =head1 ACCESSORS
24  
25 =head2 varname
26  
27 data_type: 'char'
28 is_nullable: 0
29 size: 32
30  
31 =head2 varvalue
32  
33 data_type: 'text'
34 is_nullable: 0
35  
36 =head2 vartype
37  
38 data_type: 'enum'
39 default_value: 'string'
40 extra: {list => ["string","uint"]}
41 is_nullable: 0
42  
43 =head2 emptyok
44  
45 data_type: 'enum'
46 default_value: 'no'
47 extra: {list => ["yes","no"]}
48 is_nullable: 0
49  
50 =head2 is_hidden
51  
52 data_type: 'enum'
53 default_value: 'yes'
54 extra: {list => ["yes","no"]}
55 is_nullable: 0
56  
57 =head2 is_userdefined
58  
59 data_type: 'enum'
60 default_value: 'no'
61 extra: {list => ["yes","no"]}
62 is_nullable: 0
63  
64 =head2 description
65  
66 data_type: 'text'
67 is_nullable: 1
68  
69 =cut
70  
71 1 __PACKAGE__->add_columns(
72 "varname",
73 { data_type => "char", is_nullable => 0, size => 32 },
74 "varvalue",
75 { data_type => "text", is_nullable => 0 },
76 "vartype",
77 {
78 data_type => "enum",
79 default_value => "string",
80 extra => { list => ["string", "uint"] },
81 is_nullable => 0,
82 },
83 "emptyok",
84 {
85 data_type => "enum",
86 default_value => "no",
87 extra => { list => ["yes", "no"] },
88 is_nullable => 0,
89 },
90 "is_hidden",
91 {
92 data_type => "enum",
93 default_value => "yes",
94 extra => { list => ["yes", "no"] },
95 is_nullable => 0,
96 },
97 "is_userdefined",
98 {
99 data_type => "enum",
100 default_value => "no",
101 extra => { list => ["yes", "no"] },
102 is_nullable => 0,
103 },
104 "description",
105 { data_type => "text", is_nullable => 1 },
106 );
107 1 __PACKAGE__->set_primary_key("varname");
108  
109 =head1 RELATIONS
110  
111 =head2 user_configs
112  
113 Type: has_many
114  
115 Related object: L<RackTables::Schema::Result::UserConfig>
116  
117 =cut
118  
119 1 __PACKAGE__->has_many(
120 "user_configs",
121 "RackTables::Schema::Result::UserConfig",
122 { "foreign.varname" => "self.varname" },
123 { cascade_copy => 0, cascade_delete => 0 },
124 );
125  
126  
127 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-26 11:34:02
128 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fsDRhxqsxDgV9t7B4C9Y/A
129  
130  
131 # You can replace this text with custom code or comments, and it will be preserved on regeneration
132 1 __PACKAGE__->meta->make_immutable;
133 1 1;
« blib/lib/RackTables/Schema/Result/Chapter.pm ↑ Summary blib/lib/RackTables/Schema/Result/Dictionary.pm »