RackTables/0_20_5/Result/CactiGraph.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_5::Result::CactiGraph;
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_5::Result::CactiGraph
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<CactiGraph>
31  
32 =cut
33  
34 __PACKAGE__->table("CactiGraph");
35  
36 =head1 ACCESSORS
37  
38 =head2 object_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 0
44  
45 =head2 server_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 0
51  
52 =head2 graph_id
53  
54 data_type: 'integer'
55 extra: {unsigned => 1}
56 is_nullable: 0
57  
58 =head2 caption
59  
60 data_type: 'char'
61 is_nullable: 1
62 size: 255
63  
64 =cut
65  
66 __PACKAGE__->add_columns(
67 "object_id",
68 {
69 data_type => "integer",
70 extra => { unsigned => 1 },
71 is_foreign_key => 1,
72 is_nullable => 0,
73 },
74 "server_id",
75 {
76 data_type => "integer",
77 extra => { unsigned => 1 },
78 is_foreign_key => 1,
79 is_nullable => 0,
80 },
81 "graph_id",
82 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
83 "caption",
84 { data_type => "char", is_nullable => 1, size => 255 },
85 );
86  
87 =head1 PRIMARY KEY
88  
89 =over 4
90  
91 =item * L</server_id>
92  
93 =item * L</graph_id>
94  
95 =back
96  
97 =cut
98  
99 __PACKAGE__->set_primary_key("server_id", "graph_id");
100  
101 =head1 RELATIONS
102  
103 =head2 object
104  
105 Type: belongs_to
106  
107 Related object: L<Schema::RackTables::0_20_5::Result::Object>
108  
109 =cut
110  
111 __PACKAGE__->belongs_to(
112 "object",
113 "Schema::RackTables::0_20_5::Result::Object",
114 { id => "object_id" },
115 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
116 );
117  
118 =head2 server
119  
120 Type: belongs_to
121  
122 Related object: L<Schema::RackTables::0_20_5::Result::CactiServer>
123  
124 =cut
125  
126 __PACKAGE__->belongs_to(
127 "server",
128 "Schema::RackTables::0_20_5::Result::CactiServer",
129 { id => "server_id" },
130 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
131 );
132  
133  
134 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:25
135 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c/J30WWFUIRlH203+A90Dw
136  
137  
138 # You can replace this text with custom code or comments, and it will be preserved on regeneration
139 1;