RackTables/0_19_13/Result/UserConfig.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package Schema::RackTables::0_19_13::Result::UserConfig;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 =head1 NAME
8  
9 Schema::RackTables::0_19_13::Result::UserConfig
10  
11 =cut
12  
13 use strict;
14 use warnings;
15  
16 use base 'DBIx::Class::Core';
17  
18 =head1 COMPONENTS LOADED
19  
20 =over 4
21  
22 =item * L<DBIx::Class::InflateColumn::DateTime>
23  
24 =back
25  
26 =cut
27  
28 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<UserConfig>
31  
32 =cut
33  
34 __PACKAGE__->table("UserConfig");
35  
36 =head1 ACCESSORS
37  
38 =head2 varname
39  
40 data_type: 'char'
41 is_foreign_key: 1
42 is_nullable: 0
43 size: 32
44  
45 =head2 varvalue
46  
47 data_type: 'text'
48 is_nullable: 0
49  
50 =head2 user
51  
52 data_type: 'char'
53 is_foreign_key: 1
54 is_nullable: 0
55 size: 64
56  
57 =cut
58  
59 __PACKAGE__->add_columns(
60 "varname",
61 { data_type => "char", is_foreign_key => 1, is_nullable => 0, size => 32 },
62 "varvalue",
63 { data_type => "text", is_nullable => 0 },
64 "user",
65 { data_type => "char", is_foreign_key => 1, is_nullable => 0, size => 64 },
66 );
67  
68 =head1 UNIQUE CONSTRAINTS
69  
70 =head2 C<user_varname>
71  
72 =over 4
73  
74 =item * L</user>
75  
76 =item * L</varname>
77  
78 =back
79  
80 =cut
81  
82 __PACKAGE__->add_unique_constraint("user_varname", ["user", "varname"]);
83  
84 =head1 RELATIONS
85  
86 =head2 user
87  
88 Type: belongs_to
89  
90 Related object: L<Schema::RackTables::0_19_13::Result::UserAccount>
91  
92 =cut
93  
94 __PACKAGE__->belongs_to(
95 "user",
96 "Schema::RackTables::0_19_13::Result::UserAccount",
97 { user_name => "user" },
98 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
99 );
100  
101 =head2 varname
102  
103 Type: belongs_to
104  
105 Related object: L<Schema::RackTables::0_19_13::Result::Config>
106  
107 =cut
108  
109 __PACKAGE__->belongs_to(
110 "varname",
111 "Schema::RackTables::0_19_13::Result::Config",
112 { varname => "varname" },
113 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
114 );
115  
116  
117 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:02:40
118 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IzNWL2aBnK80GEBWDZqDQg
119  
120  
121 # You can replace this text with custom code or comments, and it will be preserved on regeneration
122 1;