RackTables/0_20_7/Result/UserConfig.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 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_20_7::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_20_7::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_nullable: 0
54 size: 64
55  
56 =cut
57  
58 __PACKAGE__->add_columns(
59 "varname",
60 { data_type => "char", is_foreign_key => 1, is_nullable => 0, size => 32 },
61 "varvalue",
62 { data_type => "text", is_nullable => 0 },
63 "user",
64 { data_type => "char", is_nullable => 0, size => 64 },
65 );
66  
67 =head1 UNIQUE CONSTRAINTS
68  
69 =head2 C<user_varname>
70  
71 =over 4
72  
73 =item * L</user>
74  
75 =item * L</varname>
76  
77 =back
78  
79 =cut
80  
81 __PACKAGE__->add_unique_constraint("user_varname", ["user", "varname"]);
82  
83 =head1 RELATIONS
84  
85 =head2 varname
86  
87 Type: belongs_to
88  
89 Related object: L<Schema::RackTables::0_20_7::Result::Config>
90  
91 =cut
92  
93 __PACKAGE__->belongs_to(
94 "varname",
95 "Schema::RackTables::0_20_7::Result::Config",
96 { varname => "varname" },
97 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
98 );
99  
100  
101 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:14
102 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UoFxYYBO9IrBKrlj8dGp7g
103  
104  
105 # You can replace this text with custom code or comments, and it will be preserved on regeneration
106 1;